Struct SpriteBase3D
2D sprite node in 3D environment.
struct SpriteBase3D
;
A node that displays 2D texture information in a 3D environment.
Properties
Name | Type | Description |
---|---|---|
alphaCut [get, set]
|
SpriteBase3D | |
axis [get, set]
|
godot | The direction in which the front of the texture faces. |
billboard [get, set]
|
SpatialMaterial | |
centered [get, set]
|
bool | If true , texture will be centered.
|
doubleSided [get, set]
|
bool | If true , texture can be seen from the back as well, if false , it is invisible when looking at it from behind.
|
flipH [get, set]
|
bool | If true , texture is flipped horizontally.
|
flipV [get, set]
|
bool | If true , texture is flipped vertically.
|
modulate [get, set]
|
Color | A color value that gets multiplied on, could be used for mood-coloring or to simulate the color of light. |
offset [get, set]
|
Vector2 | The texture's drawing offset. |
opacity [get, set]
|
double | The objects visibility on a scale from 0 fully invisible to 1 fully visible.
|
pixelSize [get, set]
|
double | The size of one pixel's width on the sprite to scale it in 3D. |
shaded [get, set]
|
bool | If true , the Light in the Environment has effects on the sprite.
|
transparent [get, set]
|
bool | If true , the texture's transparency and the opacity are used to make those parts of the sprite invisible.
|
Methods
Enums
Name | Description |
---|---|
AlphaCutMode
|
|
Constants
|
|
DrawFlags
|