Actionclip

  • LXsITYPE_ACTIONCLIP

  • LXsITYPE_ACTIONPOSE

  • LXiACTIONCLIP_TYPE_ANIM

  • LXiACTIONCLIP_TYPE_POSE

ILxActionClip

class ILxActionClip

The Action Clip interface provices services for operating on Action Clip items.

Public Functions

LxResult SetParenting(LXtObjectID self, LXtObjectID group)

This function must be called after an ActionClip has been created and added to the Actor group.

LxResult SetActive(LXtObjectID self, int state)

This function can be used to change the active state of an ActionClip item. Zero and one can be passed in the ‘state’ argument to set the state directly or -1 to toggle the current state.

unsigned Active(LXtObjectID self)

This function tests whether an ActionClip is active or not.

LxResult SetEnabled(LXtObjectID self, int state)

The enabled state of an ActionClip item is used when the item belongs to a Render Pass group, i.e. a Pass. Only enabled ActionClips will be rendered. Zero and one can be passed in the ‘state’ argument to set the enable state directly or -1 to toggle the current state.

unsigned Enabled(LXtObjectID self)

This function tests whether an ActionClip is enabled or not.

LxResult Action(LXtObjectID self, double time, void **ppvObj)

This function gets the Action associated with an ActionClip or ActionPose item.

LxResult Extents(LXtObjectID self, double *timeS, double *timeE, int layers)

This function can be used to get the range of animation in the ActionClip. If the layers argument is set any Action Layers on the Action Clip will be included.

LxResult Create(LXtObjectID self)

This function creates an ActionClip.