Class ShapeExtensions
Inheritance
ShapeExtensions
Assembly: Unity.2D.Path.Editor.dll
Syntax
public static class ShapeExtensions
Methods
IsSpline(Vector3[], bool)
Declaration
public static bool IsSpline(this Vector3[] points, bool isOpenEnded)
Parameters
Type |
Name |
Description |
Vector3[] |
points |
|
bool |
isOpenEnded |
|
Returns
ToPolygon(Vector3[], bool)
Declaration
public static Polygon ToPolygon(this Vector3[] points, bool isOpenEnded)
Parameters
Type |
Name |
Description |
Vector3[] |
points |
|
bool |
isOpenEnded |
|
Returns
ToSpline(Polygon)
Declaration
public static Spline ToSpline(this Polygon polygon)
Parameters
Type |
Name |
Description |
Polygon |
polygon |
|
Returns
ToSpline(Vector3[], bool)
Declaration
public static Spline ToSpline(this Vector3[] points, bool isOpenEnded)
Parameters
Type |
Name |
Description |
Vector3[] |
points |
|
bool |
isOpenEnded |
|
Returns