mojo3d.EntityEXT - nitrologic/monkey2 GitHub Wiki

mojo3d::mojo3d.Entity

Class Entity Extension

Utility extension methods for entities.

Properties
AnimatorEXT The animator attached to the entity. (read only)
ColliderEXT The collider attached to the entity. (read only)
JointEXT The joint attached to the entity. (read only)
LocalRotationEXT Local space rotation in degrees.
LocalRxEXT Local space rotation around the X axis in degrees.
LocalRyEXT Local space rotation around the Y axis in degrees.
LocalRzEXT Local space rotation around the Z axis in degrees.
LocalSxEXT Local space scale on the X axis.
LocalSyEXT Local space scale on the Y axis.
LocalSzEXT Local space scale on the Z axis.
LocalXEXT Local space X coordinate.
LocalYEXT Local space Y coordinate.
LocalZEXT Local space Z coordinate.
RigidBodyEXT The rigid body attached to the entity. (read only)
RotationEXT World space rotation in degrees.
RxEXT World space rotation around the X axis in degrees.
RyEXT World space rotation around the Y axis in degrees.
RzEXT World space rotation around the Z axis in degrees.
SxEXT World space scale on the X axis.
SyEXT World space scale on the Y axis.
SzEXT World space scale on the Z axis.
XEXT World space X coordinate.
YEXT World space Y coordinate.
ZEXT World space Z coordinate.
Methods
GetBasisEXT Gets entity basis matrix in local or world space.
GetPositionEXT Gets entity position in local or world space.
GetRotationEXT Gets entity rotation in euler angles in local or world space.
GetScaleEXT Gets entity scale in local or world space.
MoveEXT Moves the entity.
MoveXEXT Moves the entity on the X axis.
MoveYEXT Moves the entity on the Y axis.
MoveZEXT Moves the entity on the Z axis.
PointAtEXT Points the entity at a target.
RotateEXT Rotates the entity.
RotateXEXT Rotates the entity around the X axis.
RotateYEXT Rotates the entity around the Y axis.
RotateZEXT Rotates the entity around the Z axis.
SetBasisEXT Sets entity basis matrix in local or world space.
SetPositionEXT Sets entity position in local or world space.
SetRotationEXT Sets entity rotation in euler angles in local or world space.
SetScaleEXT Sets entity scale in local or world space.