Package net.runelite.api
Interface Animation
-
public interface Animation
Represents an animation of a renderable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getId()
Get the id for this animationint
getNumFrames()
Get how many distinct frames this animation has.int
getRestartMode()
How this animation behaves when its restarted during playbackvoid
setRestartMode(int restartMode)
-
-
-
Method Detail
-
getId
int getId()
Get the id for this animation- Returns:
- See Also:
AnimationID
-
getNumFrames
int getNumFrames()
Get how many distinct frames this animation has. For animaya animations, this is the duration in client ticks. For classic animations, this is how many keyframes it has, not it's duration in ticks.
-
getRestartMode
int getRestartMode()
How this animation behaves when its restarted during playback
-
setRestartMode
void setRestartMode(int restartMode)
- See Also:
getRestartMode()
-
-