Package net.runelite.api
Interface DecorativeObject
-
- All Superinterfaces:
TileObject
public interface DecorativeObject extends TileObject
Represents a decorative object, such as an object on a wall.
-
-
Field Summary
-
Fields inherited from interface net.runelite.api.TileObject
HASH_PLANE_SHIFT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getConfig()
A bitfield containing various flags:Shape
getConvexHull()
Gets the convex hull of the objects model.Shape
getConvexHull2()
Renderable
getRenderable()
Renderable
getRenderable2()
int
getXOffset()
Decorative object x offset.int
getYOffset()
Decorative object y offset.-
Methods inherited from interface net.runelite.api.TileObject
getCanvasLocation, getCanvasLocation, getCanvasTextLocation, getCanvasTilePoly, getClickbox, getHash, getId, getLocalLocation, getMinimapLocation, getPlane, getWorldLocation, getWorldView, getX, getY, getZ
-
-
-
-
Method Detail
-
getConvexHull
Shape getConvexHull()
Gets the convex hull of the objects model.- Returns:
- the convex hull
- See Also:
Jarvis
-
getConvexHull2
Shape getConvexHull2()
-
getRenderable
Renderable getRenderable()
-
getRenderable2
Renderable getRenderable2()
-
getXOffset
int getXOffset()
Decorative object x offset. This is added to the x position of the object, and is used to account for walls of varying widths.
-
getYOffset
int getYOffset()
Decorative object y offset. This is added to the z position of the object, and is used to account for walls of varying widths.
-
getConfig
int getConfig()
A bitfield containing various flags:object type id = bits & 0x20 orientation (0-3) = bits >>> 6 & 3 supports items = bits >>> 8 & 1
-
-