Method SetLocalPose
SetLocalPose(Transform, Pose)
Sets the local position and rotation from a Pose.
Declaration
public static void SetLocalPose(this Transform transform, Pose pose)
Parameters
Type | Name | Description |
---|---|---|
Transform | transform | The transform on which to set the pose. |
Pose | pose | Pose specifying the new position and rotation. |