Dela via


SpacePin.ResetModelingPose Method

Definition

Reset the modeling pose to the current transform.

public virtual void ResetModelingPose ();
abstract member ResetModelingPose : unit -> unit
override this.ResetModelingPose : unit -> unit
Public Overridable Sub ResetModelingPose ()

Remarks

In normal usage, the modeling pose is the transform as set in Unity and as cached at start. In some circumstances, such as creation of pins from script, it may be convenient to set the transform after Start(). In this case, the change of transform should be recorded by a call to ResetModelingPose(). This must happen before the modeling pose is used implicitly by a call to set the virtual pose, via SetFrozenPose, SetSpongyPose, or SetLockedPose.

Applies to