Class Polygon
Hierarchy
- Polygon
Index
Constructors
constructor
Properties
planeSearch playground for plane
A plane formed from the vertices of the polygon
sharedSearch playground for shared
Properties that are shared across all polygons
verticesSearch playground for vertices
Vertices of the polygon
Methods
cloneSearch playground for clone
Clones, or makes a deep copy, or the polygon
Returns Polygon
flipSearch playground for flip
Flips the faces of the polygon
Returns void
Represents a convex polygon. The vertices used to initialize a polygon must be coplanar and form a convex loop.
Each convex polygon has a
shared
property, which is shared between all polygons that are clones of each other or were split from the same polygon. This can be used to define per-polygon properties (such as surface color)