- frame
long frame [@property getter]
long frame [@property setter]
Current frame to display from sprite sheet. vframes or hframes must be greater than 1.
- hframes
long hframes [@property getter]
long hframes [@property setter]
The number of columns in the sprite sheet.
- regionEnabled
bool regionEnabled [@property getter]
bool regionEnabled [@property setter]
If true texture will be cut from a larger atlas texture. See regionRect. Default value: false.
- regionRect
Rect2 regionRect [@property getter]
Rect2 regionRect [@property setter]
The region of the atlas texture to display. regionEnabled must be true.
- texture
Texture texture [@property getter]
Texture texture [@property setter]
- vframes
long vframes [@property getter]
long vframes [@property setter]
The number of rows in the sprite sheet.
2D Sprite node in 3D world.
A node that displays a 2D texture in a 3D environment. The texture displayed can be a region from a larger atlas texture, or a frame from a sprite sheet animation.