api: add game object model orientation

Co-authored-by: Adam <Adam@sigterm.info>
This commit is contained in:
WooxSolo
2021-06-27 13:43:23 -04:00
committed by Adam
parent 41440d7385
commit 0ad02c6410

View File

@@ -82,4 +82,15 @@ public interface GameObject extends TileObject
Angle getOrientation();
Renderable getRenderable();
/**
* Gets the orientation of the model in JAU.
* This is typically 0 for non-actors, since
* most object's models are oriented prior to
* lighting during scene loading. See {@link #getOrientation()}
* instead for object orientation.
*
* @see net.runelite.api.coords.Angle
*/
int getModelOrientation();
}