Build a FilledPolygon
OptionalfillColor?: stringColor to fill the box
OptionallineColor?: stringColor for the border
OptionallineWidth?: numberWidth of the border
Optionaloffset?: JLOffsetAn offset between the component's center and its RigidBody's center (optional)
The vertex points, relative to the center.
Optionalz?: 0 | 1 | 2 | 4 | -4 | 3 | -3 | -2 | -1An optional z index in the range [-4,4]
OptionalactorThe Actor to which this FilledPolygon is attached
OptionalfillFill color
Height, to simplify some other code
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 [-4, 4]
Line color
Line color
Line width
Line width
FilledPolygon describes any object whose visual representation is a filled polygon.