Interpolator.SetTargetPosition(Vector3) 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 position for the transform and if position wasn't already animating, fires the InterpolationStarted event.
public:
void SetTargetPosition(UnityEngine::Vector3 target);
public void SetTargetPosition (UnityEngine.Vector3 target);
member this.SetTargetPosition : UnityEngine.Vector3 -> unit
Public Sub SetTargetPosition (target As Vector3)
Parameters
- target
- UnityEngine.Vector3
The new target position to for the transform.