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 Animation
getAnimation()
Get the animation applied to the objectint
getAnimCycle()
Get the frame cycle.int
getAnimFrame()
Get the frame of the current animationModel
getModelZbuf()
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:
-
-