SpriteBase3D

Inherits: GeometryInstance3D < VisualInstance3D < Node3D < Node < Object

Inherited By: AnimatedSprite3D, Sprite3D

There is currently no description for this class. Please help us by contributing one!

Properties

float

alpha_antialiasing_edge

0.0

AlphaAntiAliasing

alpha_antialiasing_mode

0

AlphaCutMode

alpha_cut

0

float

alpha_hash_scale

1.0

float

alpha_scissor_threshold

0.5

Vector3.Axis

axis

2

BillboardMode

billboard

0

bool

centered

true

bool

double_sided

true

bool

fixed_size

false

bool

flip_h

false

bool

flip_v

false

Color

modulate

Color(1, 1, 1, 1)

bool

no_depth_test

false

Vector2

offset

Vector2(0, 0)

float

pixel_size

0.01

int

render_priority

0

bool

shaded

false

TextureFilter

texture_filter

3

bool

transparent

true

Methods

TriangleMesh

generate_triangle_mesh ( ) const

bool

get_draw_flag ( DrawFlags flag ) const

Rect2

get_item_rect ( ) const

void

set_draw_flag ( DrawFlags flag, bool enabled )


Enumerations

enum DrawFlags:

DrawFlags FLAG_TRANSPARENT = 0

There is currently no description for this enum. Please help us by contributing one!

DrawFlags FLAG_SHADED = 1

There is currently no description for this enum. Please help us by contributing one!

DrawFlags FLAG_DOUBLE_SIDED = 2

There is currently no description for this enum. Please help us by contributing one!

DrawFlags FLAG_DISABLE_DEPTH_TEST = 3

There is currently no description for this enum. Please help us by contributing one!

DrawFlags FLAG_FIXED_SIZE = 4

There is currently no description for this enum. Please help us by contributing one!

DrawFlags FLAG_MAX = 5

There is currently no description for this enum. Please help us by contributing one!


enum AlphaCutMode:

AlphaCutMode ALPHA_CUT_DISABLED = 0

There is currently no description for this enum. Please help us by contributing one!

AlphaCutMode ALPHA_CUT_DISCARD = 1

There is currently no description for this enum. Please help us by contributing one!

AlphaCutMode ALPHA_CUT_OPAQUE_PREPASS = 2

There is currently no description for this enum. Please help us by contributing one!

AlphaCutMode ALPHA_CUT_HASH = 3

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

float alpha_antialiasing_edge = 0.0

  • void set_alpha_antialiasing_edge ( float value )

  • float get_alpha_antialiasing_edge ( )

There is currently no description for this property. Please help us by contributing one!


AlphaAntiAliasing alpha_antialiasing_mode = 0

There is currently no description for this property. Please help us by contributing one!


AlphaCutMode alpha_cut = 0

There is currently no description for this property. Please help us by contributing one!


float alpha_hash_scale = 1.0

  • void set_alpha_hash_scale ( float value )

  • float get_alpha_hash_scale ( )

There is currently no description for this property. Please help us by contributing one!


float alpha_scissor_threshold = 0.5

  • void set_alpha_scissor_threshold ( float value )

  • float get_alpha_scissor_threshold ( )

There is currently no description for this property. Please help us by contributing one!


Vector3.Axis axis = 2

  • void set_axis ( Vector3.Axis value )

  • Vector3.Axis get_axis ( )

There is currently no description for this property. Please help us by contributing one!


BillboardMode billboard = 0

There is currently no description for this property. Please help us by contributing one!


bool centered = true

  • void set_centered ( bool value )

  • bool is_centered ( )

There is currently no description for this property. Please help us by contributing one!


bool double_sided = true

There is currently no description for this property. Please help us by contributing one!


bool fixed_size = false

There is currently no description for this property. Please help us by contributing one!


bool flip_h = false

  • void set_flip_h ( bool value )

  • bool is_flipped_h ( )

There is currently no description for this property. Please help us by contributing one!


bool flip_v = false

  • void set_flip_v ( bool value )

  • bool is_flipped_v ( )

There is currently no description for this property. Please help us by contributing one!


Color modulate = Color(1, 1, 1, 1)

  • void set_modulate ( Color value )

  • Color get_modulate ( )

There is currently no description for this property. Please help us by contributing one!


bool no_depth_test = false

There is currently no description for this property. Please help us by contributing one!


Vector2 offset = Vector2(0, 0)

There is currently no description for this property. Please help us by contributing one!


float pixel_size = 0.01

  • void set_pixel_size ( float value )

  • float get_pixel_size ( )

There is currently no description for this property. Please help us by contributing one!


int render_priority = 0

  • void set_render_priority ( int value )

  • int get_render_priority ( )

There is currently no description for this property. Please help us by contributing one!


bool shaded = false

There is currently no description for this property. Please help us by contributing one!


TextureFilter texture_filter = 3

There is currently no description for this property. Please help us by contributing one!


bool transparent = true

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

TriangleMesh generate_triangle_mesh ( ) const

There is currently no description for this method. Please help us by contributing one!


bool get_draw_flag ( DrawFlags flag ) const

There is currently no description for this method. Please help us by contributing one!


Rect2 get_item_rect ( ) const

There is currently no description for this method. Please help us by contributing one!


void set_draw_flag ( DrawFlags flag, bool enabled )

There is currently no description for this method. Please help us by contributing one!