Modifier

Partager via


LineUtility.GetVectorCollectionBlend(Vector3[], Single, Boolean) Method

Definition

Returns a blended value from a collection of vectors

public:
 static UnityEngine::Vector3 GetVectorCollectionBlend(cli::array <UnityEngine::Vector3> ^ vectorCollection, float normalizedLength, bool repeat);
public static UnityEngine.Vector3 GetVectorCollectionBlend (UnityEngine.Vector3[] vectorCollection, float normalizedLength, bool repeat);
static member GetVectorCollectionBlend : UnityEngine.Vector3[] * single * bool -> UnityEngine.Vector3
Public Function GetVectorCollectionBlend (vectorCollection As Vector3(), normalizedLength As Single, repeat As Boolean) As Vector3

Parameters

vectorCollection
UnityEngine.Vector3[]

The collection to use to calculate the blend.

normalizedLength
Single

the normalized length along the line to calculate the point.

repeat
Boolean

Returns

UnityEngine.Vector3

The calculated point found along the normalized length.

Applies to