LineUtility.GetEllipsePoint(Vector2, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.