Property | Type | Description | |
---|---|---|---|
addCollider | bool | ||
closed | bool | ||
curveType | CurveType | ||
meshLayers | PrettyPoly.PrettyPolyMeshLayer[] | ||
objectLayers | PrettyPoly.PrettyPolyObjectLayer[] | ||
points | PrettyPoly.PrettyPolyPoint[] | ||
solid | bool | ||
sortingOrder | int |
Method | Description | |
---|---|---|
AddCollider ( PrettyPoly.PrettyPolyPoint pts ) : void | ||
GetCatmullRom ( ) : PrettyPoly.PrettyPolyPoint[] | ||
GetClosestPoint ( |
||
GetClosestSegment ( |
||
GetCubicBezier ( ) : PrettyPoly.PrettyPolyPoint[] | ||
GetCurve ( ) : PrettyPoly.PrettyPolyPoint[] | ||
OnCollisionEnter2D ( |
||
UpdateMaterials ( ) : void | ||
UpdateRenderer ( ) : void |
Method | Description | |
---|---|---|
UpdateMesh ( ) : void | ||
UpdateObjects ( ) : void |
public AddCollider ( PrettyPoly.PrettyPolyPoint pts ) : void | ||
pts | PrettyPoly.PrettyPolyPoint | |
return | void |
public GetCatmullRom ( ) : PrettyPoly.PrettyPolyPoint[] | ||
return | PrettyPoly.PrettyPolyPoint[] |
public GetClosestPoint ( |
||
point | ||
return | PrettyPoly.PrettyPolyPoint |
public GetClosestSegment ( |
||
point | ||
return | int |
public GetCubicBezier ( ) : PrettyPoly.PrettyPolyPoint[] | ||
return | PrettyPoly.PrettyPolyPoint[] |
public GetCurve ( ) : PrettyPoly.PrettyPolyPoint[] | ||
return | PrettyPoly.PrettyPolyPoint[] |
public OnCollisionEnter2D ( |
||
collision | ||
return | void |
public PrettyPolyMeshLayer[],PrettyPoly meshLayers | ||
return | PrettyPoly.PrettyPolyMeshLayer[] |
public PrettyPolyObjectLayer[],PrettyPoly objectLayers | ||
return | PrettyPoly.PrettyPolyObjectLayer[] |
public PrettyPolyPoint[],PrettyPoly points | ||
return | PrettyPoly.PrettyPolyPoint[] |