actionclip (lx_actionclip.hpp)

From The Foundry MODO SDK wiki
(Redirected from LXa ACTIONCLIP (index))
Jump to: navigation, search
There are security restrictions on this page


Action Clip SDK

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

(1) SDK: Declarations
 #define LXu_ACTIONCLIP          "A312921B-41D2-4D2A-8678-C90EEA381FAE"
 #define LXa_ACTIONCLIP          "actionclip"

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

(2) SDK: ILxActionClip interface
         LXxMETHOD(  LxResult,
 SetParenting) (
         LXtObjectID              self,
         LXtObjectID              group);

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.

(3) SDK: ILxActionClip interface
         LXxMETHOD(  LxResult,
 SetActive) (
         LXtObjectID              self,
         int                      state);

This function tests whether an ActionClip is active or not.

(4) SDK: ILxActionClip interface
         LXxMETHOD(  unsigned,
 Active) (
         LXtObjectID              self);

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.

(5) SDK: ILxActionClip interface
         LXxMETHOD(  LxResult,
 SetEnabled) (
         LXtObjectID              self,
         int                      state);

This function tests whether an ActionClip is enabled or not.

(6) SDK: ILxActionClip interface
         LXxMETHOD(  unsigned,
 Enabled) (
         LXtObjectID              self);

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

(7) SDK: ILxActionClip interface
         LXxMETHOD(  LxResult,
 Action) (
         LXtObjectID              self,
         double                   time,
         void                   **ppvObj);

Empty actionclip Python user class.

(8) PY: ActionClip method
 pass