Editar

Compartir a través de


LineUtility.GetPointAlongConstrainedParabola Method

Definition

Gets the point along a constrained parabola.

public:
 static UnityEngine::Vector3 GetPointAlongConstrainedParabola(UnityEngine::Vector3 origin, UnityEngine::Vector3 end, UnityEngine::Vector3 upDirection, float height, float normalizedLength);
public static UnityEngine.Vector3 GetPointAlongConstrainedParabola (UnityEngine.Vector3 origin, UnityEngine.Vector3 end, UnityEngine.Vector3 upDirection, float height, float normalizedLength);
static member GetPointAlongConstrainedParabola : UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Vector3 * single * single -> UnityEngine.Vector3
Public Function GetPointAlongConstrainedParabola (origin As Vector3, end As Vector3, upDirection As Vector3, height As Single, normalizedLength As Single) As Vector3

Parameters

origin
UnityEngine.Vector3

The point in space where the parabola starts.

end
UnityEngine.Vector3

The point in space where the parabola ends.

upDirection
UnityEngine.Vector3

The up direction of the arc.

height
Single

The height of the arc.

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