Skip to main content

Auki::ConjureKit::ECS::IPoseSystem

Inherited by Auki.ConjureKit.ECS.PoseSystem

Public Events

Name
Action< Entity >OnEntityUpdatePose()
Action< Entity, long >OnEntityUpdatePoseWithTimestamp()

Public Functions

Name
voidAddEntityPose(uint entityId, Pose pose, Action onComplete, Action< string > onError)
Adds a Pose to an existing entity. This will attach a new component of auki.pose to the given entity.
boolUpdateEntityPose(uint entityId, Pose pose)
Tries to update the Pose of an existing entity.
PoseGetEntityPose(uint entityId)
Queries the Pose of a specific entity.
PoseGetEntityPose(Entity entity)

Public Events Documentation

event OnEntityUpdatePose

Action< Entity > OnEntityUpdatePose()

event OnEntityUpdatePoseWithTimestamp

Action< Entity, long > OnEntityUpdatePoseWithTimestamp()

Public Functions Documentation

function AddEntityPose

void AddEntityPose(
uint entityId,
Pose pose,
Action onComplete,
Action< string > onError
)

Adds a Pose to an existing entity. This will attach a new component of auki.pose to the given entity.

function UpdateEntityPose

bool UpdateEntityPose(
uint entityId,
Pose pose
)

Tries to update the Pose of an existing entity.

Return: False if entity does not exists, or entity does not have an auki.pose component attached.

function GetEntityPose

Pose GetEntityPose(
uint entityId
)

Queries the Pose of a specific entity.

Return: the entity Pose, ff entity has an auki.pose component attached.

function GetEntityPose

Pose GetEntityPose(
Entity entity
)