Interpolator.SetTargetRotation(Quaternion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.