Auki::ConjureKit::ECS::IPoseSystem
Inherited by Auki.ConjureKit.ECS.PoseSystem
Public Events
Name | |
---|---|
Action< Entity > | OnEntityUpdatePose() |
Public Functions
Name | |
---|---|
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. |
bool | UpdateEntityPose(uint entityId, Pose pose) Tries to update the Pose of an existing entity. |
Pose | GetEntityPose(uint entityId) Queries the Pose of a specific entity. |
Pose | GetEntityPose(Entity entity) |
Public Events Documentation
event OnEntityUpdatePose
Action< Entity > OnEntityUpdatePose()
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
)