Editar

Partilhar via


LineUtility.GetEllipsePoint(Vector2, Single) Method

Definition

Calculate the ellipse point at the angle provided.

public:
 static UnityEngine::Vector3 GetEllipsePoint(UnityEngine::Vector2 radius, float angle);
public static UnityEngine.Vector3 GetEllipsePoint (UnityEngine.Vector2 radius, float angle);
static member GetEllipsePoint : UnityEngine.Vector2 * single -> UnityEngine.Vector3
Public Function GetEllipsePoint (radius As Vector2, angle As Single) As Vector3

Parameters

radius
UnityEngine.Vector2

The radius of the ellipse.

angle
Single

Angle along the ellipse to find the point.

Returns

UnityEngine.Vector3

The calculated point at the specified angle.

Applies to