- _imUpdate
void _imUpdate()
- _queueUpdate
void _queueUpdate()
- generateTriangleMesh
Ref!TriangleMesh generateTriangleMesh()
- getAlphaCutMode
SpriteBase3D.AlphaCutMode getAlphaCutMode()
- getAxis
Vector3.Axis getAxis()
- getBillboardMode
SpatialMaterial.BillboardMode getBillboardMode()
- getDrawFlag
bool getDrawFlag(long flag)
Returns the value of the specified flag.
- getItemRect
Rect2 getItemRect()
Returns the rectangle representing this sprite.
- getModulate
Color getModulate()
- getOffset
Vector2 getOffset()
- getOpacity
double getOpacity()
- getPixelSize
double getPixelSize()
- isCentered
bool isCentered()
- isFlippedH
bool isFlippedH()
- isFlippedV
bool isFlippedV()
- opAssign
typeof(null) opAssign(typeof(null) n)
- opEquals
bool opEquals(SpriteBase3D other)
- opEquals
bool opEquals(typeof(null) n)
- setAlphaCutMode
void setAlphaCutMode(long mode)
- setAxis
void setAxis(long axis)
- setBillboardMode
void setBillboardMode(long mode)
- setCentered
void setCentered(bool centered)
- setDrawFlag
void setDrawFlag(long flag, bool enabled)
If true, the specified flag will be enabled.
- setFlipH
void setFlipH(bool flip_h)
- setFlipV
void setFlipV(bool flip_v)
- setModulate
void setModulate(Color modulate)
- setOffset
void setOffset(Vector2 offset)
- setOpacity
void setOpacity(double opacity)
- setPixelSize
void setPixelSize(double pixel_size)
- toHash
size_t toHash()
- alphaCut
SpriteBase3D.AlphaCutMode alphaCut [@property getter]
long alphaCut [@property setter]
- axis
Vector3.Axis axis [@property getter]
long axis [@property setter]
The direction in which the front of the texture faces.
- billboard
SpatialMaterial.BillboardMode billboard [@property getter]
long billboard [@property setter]
- centered
bool centered [@property getter]
bool centered [@property setter]
If true, texture will be centered.
- doubleSided
bool doubleSided [@property getter]
bool doubleSided [@property setter]
If true, texture can be seen from the back as well, if false, it is invisible when looking at it from behind.
- flipH
bool flipH [@property getter]
bool flipH [@property setter]
If true, texture is flipped horizontally.
- flipV
bool flipV [@property getter]
bool flipV [@property setter]
If true, texture is flipped vertically.
- modulate
Color modulate [@property getter]
Color modulate [@property setter]
A color value that gets multiplied on, could be used for mood-coloring or to simulate the color of light.
- offset
Vector2 offset [@property getter]
Vector2 offset [@property setter]
The texture's drawing offset.
- opacity
double opacity [@property getter]
double opacity [@property setter]
The objects' visibility on a scale from 0 fully invisible to 1 fully visible.
- pixelSize
double pixelSize [@property getter]
double pixelSize [@property setter]
The size of one pixel's width on the sprite to scale it in 3D.
- shaded
bool shaded [@property getter]
bool shaded [@property setter]
If true, the Light in the Environment has effects on the sprite.
- transparent
bool transparent [@property getter]
bool transparent [@property setter]
If true, the texture's transparency and the opacity are used to make those parts of the sprite invisible.
2D sprite node in 3D environment.
A node that displays 2D texture information in a 3D environment.