Package net.runelite.api
Interface DynamicObject
-
- All Superinterfaces:
Node,Renderable
public interface DynamicObject extends Renderable
An animated object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnimationgetAnimation()Get the animation applied to the objectintgetAnimCycle()Get the frame cycle.intgetAnimFrame()Get the frame of the current animationModelgetModelZbuf()LikeRenderable.getModel()but is threadsafe and doesn't support animations.-
Methods inherited from interface net.runelite.api.Node
getHash, getNext, getPrevious
-
Methods inherited from interface net.runelite.api.Renderable
getModel, getModelHeight, setModelHeight
-
-
-
-
Method Detail
-
getAnimation
Animation getAnimation()
Get the animation applied to the object- Returns:
-
getAnimFrame
int getAnimFrame()
Get the frame of the current animation- Returns:
-
getAnimCycle
int getAnimCycle()
Get the frame cycle. The number of ticks the client has been on this frame.- Returns:
-
getModelZbuf
Model getModelZbuf()
LikeRenderable.getModel()but is threadsafe and doesn't support animations.- Returns:
-
-