Build a FilledPolygon
Optional fillColor to fill the box
Optional lineColor for the border
Optional lineWidth of the border
Optional offset?: { An offset between the component's center and its RigidBody's center (optional)
An array of vertex points. Even indices are x values, odd indices are y values. The points should be relative to the center.
Optional z?: ZIndexAn optional z index in the range [-2,2]
Optional actorThe Actor to which this FilledPolygon is attached
Optional fillFill color
Readonly graphicsThe low-level graphics object that we pass to the Renderer
Height, to simplify some other code
Optional lineLine color
Optional lineLine width
An offset between the FilledPolygon's center and the RigidBody's center
Vertices of the polygon
Width, to simplify some other code
Z index of the polygon: Must be in the range [-2, 2]
Render the FilledPolygon
The camera for the current stage
The time since the last render
Where should this be drawn (WORLD/OVERLAY/HUD)
FilledPolygon describes any object whose visual representation is a filled polygon.