Sprite3D
Category: Core
2D Sprite node in 3D world.
- frame_changed ( )
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.
- frame
Setter | set_frame(value) |
Getter | get_frame() |
Current frame to display from sprite sheet. vframes or must be greater than 1.
- bool region_enabled
Setter | set_region(value) |
Getter | is_region() |
If , texture will be cut from a larger atlas texture. See . Default value: .
- Rect2 region_rect
The region of the atlas texture to display. must be .
- Texture texture
Setter | set_texture(value) |
Getter | get_texture() |
The number of rows in the sprite sheet.