Editar

Compartir a través de


LineUtility.InterpolateHermitePoints Method

Definition

Interpolate the provided points using the Hermite algorithm.

public:
 static UnityEngine::Vector3 InterpolateHermitePoints(UnityEngine::Vector3 point1, UnityEngine::Vector3 point2, UnityEngine::Vector3 point3, UnityEngine::Vector3 point4, float normalizedLength);
public static UnityEngine.Vector3 InterpolateHermitePoints (UnityEngine.Vector3 point1, UnityEngine.Vector3 point2, UnityEngine.Vector3 point3, UnityEngine.Vector3 point4, float normalizedLength);
static member InterpolateHermitePoints : UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Vector3 * single -> UnityEngine.Vector3
Public Function InterpolateHermitePoints (point1 As Vector3, point2 As Vector3, point3 As Vector3, point4 As Vector3, normalizedLength As Single) As Vector3

Parameters

point1
UnityEngine.Vector3
point2
UnityEngine.Vector3
point3
UnityEngine.Vector3
point4
UnityEngine.Vector3
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