- _isEditable3dPolygon
bool _isEditable3dPolygon()
- getDepth
double getDepth()
- getPolygon
PoolVector2Array getPolygon()
- isDisabled
bool isDisabled()
- opAssign
CollisionPolygon opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(CollisionPolygon other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setDepth
void setDepth(double depth)
- setDisabled
void setDisabled(bool disabled)
- setPolygon
void setPolygon(PoolVector2Array polygon)
Editor-only class for defining a collision polygon in 3D space.
Allows editing a collision polygon's vertices on a selected plane. Can also set a depth perpendicular to that plane. This class is only available in the editor. It will not appear in the scene tree at runtime. Creates a Shape for gameplay. Properties modified during gameplay will have no effect.