Editar

Compartir a través de


Interpolator.SetTargetLocalRotation(Quaternion) Method

Definition

Sets the target local rotation for the transform and if rotation wasn't already animating, fires the InterpolationStarted event.

public:
 void SetTargetLocalRotation(UnityEngine::Quaternion target);
public void SetTargetLocalRotation (UnityEngine.Quaternion target);
member this.SetTargetLocalRotation : UnityEngine.Quaternion -> unit
Public Sub SetTargetLocalRotation (target As Quaternion)

Parameters

target
UnityEngine.Quaternion

The new target local rotation for the transform.

Applies to