@physion/app / Exports / PolygonNode
Class: PolygonNode
Base class for body nodes that consist of multiple parts
TODO: Consider making this an abstract class
Hierarchy
-
↳
PolygonNode
Constructors
constructor
• new PolygonNode(polygons?): PolygonNode
Parameters
| Name | Type | Default value |
|---|---|---|
polygons | Points[] | defaultPolygons |
Returns
Overrides
Properties
userData
• userData: Record<string, unknown>
Inherited from
EVT_CHILD_ADDED
▪ Static Readonly EVT_CHILD_ADDED: "childAdded"
The name of the event that is emitted whenever a child is added to this node.
The argument supplied is the child that was just added to this node.
Inherited from
MultipartBodyNode.EVT_CHILD_ADDED