Package net.runelite.api
Interface Renderable
-
- All Superinterfaces:
Node
- All Known Subinterfaces:
Actor,ActorSpotAnim,DynamicObject,GraphicsObject,Model,ModelData,NPC,Player,Projectile,Scene,TileItem
public interface Renderable extends Node
Represents an object that can be rendered.
-
-
Field Summary
Fields Modifier and Type Field Description static intRENDERMODE_DEFAULTstatic intRENDERMODE_SORTEDstatic intRENDERMODE_SORTED_NO_DEPTHstatic intRENDERMODE_UNSORTEDstatic intRENDERMODE_UNSORTED_NO_DEPTH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddraw(int orientation, int pitchSin, int pitchCos, int yawSin, int yawCos, int x, int y, int z, long hash)intgetAnimationHeightOffset()ModelgetModel()Gets the model of the object.intgetModelHeight()Gets the height of the model.intgetRenderMode()voidsetModelHeight(int modelHeight)-
Methods inherited from interface net.runelite.api.Node
getHash, getNext, getPrevious
-
-
-
-
Field Detail
-
RENDERMODE_DEFAULT
static final int RENDERMODE_DEFAULT
- See Also:
- Constant Field Values
-
RENDERMODE_SORTED
static final int RENDERMODE_SORTED
- See Also:
- Constant Field Values
-
RENDERMODE_SORTED_NO_DEPTH
static final int RENDERMODE_SORTED_NO_DEPTH
- See Also:
- Constant Field Values
-
RENDERMODE_UNSORTED
static final int RENDERMODE_UNSORTED
- See Also:
- Constant Field Values
-
RENDERMODE_UNSORTED_NO_DEPTH
static final int RENDERMODE_UNSORTED_NO_DEPTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getModel
Model getModel()
Gets the model of the object.
-
getModelHeight
int getModelHeight()
Gets the height of the model.
-
setModelHeight
void setModelHeight(int modelHeight)
-
getAnimationHeightOffset
int getAnimationHeightOffset()
-
getRenderMode
int getRenderMode()
-
draw
void draw(int orientation, int pitchSin, int pitchCos, int yawSin, int yawCos, int x, int y, int z, long hash)
-
-