PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

AddPose

This function adds a Pose to the Keyframe by parenting it to the keyframe. It is functionally identical to setting the pose’s Instance/Parent to the keyframe.

Note, this function will not error when an instance other than a Pose is given as the pose parameter and will parent it successfully.

Parameters

Name Type Default Description

The Pose to be added.

Returns

Return Type Summary

Code Samples


Keyframe Generate Poses

This sample includes a function that will generate a ‘blank’ keyframe containing blank poses for all of the model’s connected parts in the correct hierarchical order.


Keyframe Add/Remove Pose

This sample demonstrates quickly the Keyframe.AddPose, Keyframe.RemovePose and Pose.AddSubPose and Pose.RemoveSubPose functions. Note these are functionally equivalent to parenting and un-parenting the poses.