編集

次の方法で共有


Interpolator.SetTargetRotation(Quaternion) Method

Definition

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

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

Parameters

target
UnityEngine.Quaternion

The new target rotation for the transform.

Applies to