Jump to content

Entities

An entity is the base class for all "things" in 3D space. A light is an entity. So is a mesh. An entity has a position, rotation, and scale. It can be parented to other entities, or be the parent of a child entity.

Because all entity classes like meshes, lights, etc., are extended from the base entity class, the same positioning and rotation commands below can be used on all 3D objects in the engine.

Commands

AlignToVector
CopyEntity
CopyEntityKeys
CountChildren
EntityCollisionCallback
EntityColor
EntityCulled
EntityDistance
EntityExists
EntityHidden
EntityOcclusionMode
EntityOrder
EntityParent
EntityPosition
EntityQuat
EntityRotation
EntityScale
EntityShadowMode
EntityShadowRange
EntityType
EntityViewRange
FindChild
ForEachEntityDo
ForEachEntityInAABBDo
FreeEntity
FreeEntityCallback
GetChild
GetEntityAABB
GetEntityKey
GetEntityMaterial
GetEntityMatrix
GetEntityTarget
GetEntityType
GetEntityUserData
GetParent
HideEntity
MessageReceiveCallback
MoveEntity
PaintEntity
PointEntity
PositionEntity
RotateEntity
ScaleEntity
SendEntityMessage
SetEntityCallback
SetEntityKey
SetEntityMatrix
SetEntityTarget
SetEntityUserData
ShowEntity
TFormNormal
TFormPlane
TFormPoint
TFormQuat
TFormVector
TranslateEntity
TurnEntity
UpdateEntityCallback
UpdateMatrixCallback
UpdatePhysicsCallback
  • You cannot add records