- getBuildMode
CollisionPolygon2D.BuildMode getBuildMode()
- getPolygon
PoolVector2Array getPolygon()
- isDisabled
bool isDisabled()
- isOneWayCollisionEnabled
bool isOneWayCollisionEnabled()
- opAssign
CollisionPolygon2D opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(CollisionPolygon2D 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.
- setBuildMode
void setBuildMode(long build_mode)
- setDisabled
void setDisabled(bool disabled)
- setOneWayCollision
void setOneWayCollision(bool enabled)
- setPolygon
void setPolygon(PoolVector2Array polygon)
Defines a 2D collision polygon.
Provides a 2D collision polygon to a CollisionObject2D parent. Polygon can be drawn in the editor or specified by a list of vertices.