My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
SFPolygon Class Reference
Inheritance diagram for SFPolygon:

Public Member Functions

Matrix4x4 _GetMatrix ()
 
void _UpdateBounds ()
 
void _CacheWorldBounds ()
 
Vector2[] GetPath (int index)
 
void SetPath (int index, Vector2[] path)
 
void CopyFromCollider (Collider2D collider)
 
void _CopyFromCollider ()
 
void _FlipInsideOut (int index)
 

Public Attributes

int _activePath = 0
 
bool _looped
 
LayerMask _shadowLayers = ~0
 
float _lightPenetration = 0.0f
 
float _opacity = 1.0f
 

Static Public Attributes

static List< SFPolygon_polygons = new List<SFPolygon>()
 

Properties

Rect _WorldBounds [get]
 
int pathCount [get, set]
 
Vector2[] verts [get, set]
 
int activePath [get, set]
 
bool looped [get, set]
 
LayerMask shadowLayers [get, set]
 
float lightPenetration [get, set]
 
float opacity [get, set]
 

The documentation for this class was generated from the following file: