Method SetWorldPose
SetWorldPose(Transform, Pose)
Sets the world position and rotation from a Pose.
Declaration
public static void SetWorldPose(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. |