Bearbeiten

Share via


LineUtility.InterpolateBezierPoints Method

Definition

Interpolate the provided points using the standard Bezier algorithm.

public:
 static UnityEngine::Vector3 InterpolateBezierPoints(UnityEngine::Vector3 point1, UnityEngine::Vector3 point2, UnityEngine::Vector3 point3, UnityEngine::Vector3 point4, float normalizedLength);
public static UnityEngine.Vector3 InterpolateBezierPoints (UnityEngine.Vector3 point1, UnityEngine.Vector3 point2, UnityEngine.Vector3 point3, UnityEngine.Vector3 point4, float normalizedLength);
static member InterpolateBezierPoints : UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Vector3 * single -> UnityEngine.Vector3
Public Function InterpolateBezierPoints (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