Interpolator.SetTargetLocalRotation(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 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.