- _isPlaying
bool _isPlaying()
- _resChanged
void _resChanged()
- _setPlaying
void _setPlaying(bool playing)
- getAnimation
String getAnimation()
- getFrame
long getFrame()
- getSpriteFrames
Ref!SpriteFrames getSpriteFrames()
- isPlaying
bool isPlaying()
Return true if an animation if currently being played.
- opAssign
AnimatedSprite3D opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(AnimatedSprite3D other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- play
void play(StringArg0 anim)
Play the animation set in parameter. If no parameter is provided, the current animation is played.
- setAnimation
void setAnimation(StringArg0 animation)
- setFrame
void setFrame(long frame)
- setSpriteFrames
void setSpriteFrames(SpriteFrames sprite_frames)
- stop
void stop()
Stop the current animation (does not reset the frame counter).
2D sprite node in 3D world, that can use multiple 2D textures for animation.
Animations are created using a SpriteFrames resource, which can be configured in the editor via the SpriteFrames panel.