편집

다음을 통해 공유


LineUtility.InterpolateVectorArray(Vector3[], Single) Method

Definition

Interpolate a position between the provided points.

public:
 static UnityEngine::Vector3 InterpolateVectorArray(cli::array <UnityEngine::Vector3> ^ points, float normalizedLength);
public static UnityEngine.Vector3 InterpolateVectorArray (UnityEngine.Vector3[] points, float normalizedLength);
static member InterpolateVectorArray : UnityEngine.Vector3[] * single -> UnityEngine.Vector3
Public Function InterpolateVectorArray (points As Vector3(), normalizedLength As Single) As Vector3

Parameters

points
UnityEngine.Vector3[]

The points to use in the calculation.

normalizedLength
Single

the normalized length along the line to calculate the point.

Returns

UnityEngine.Vector3

The calculated point found along the normalized length.

Applies to