- getCollisionLayer
long getCollisionLayer()
- getExclude
Array getExclude()
- getMargin
double getMargin()
- getMotion
Vector2 getMotion()
- getShapeRid
RID getShapeRid()
- getTransform
Transform2D getTransform()
- isCollideWithAreasEnabled
bool isCollideWithAreasEnabled()
- isCollideWithBodiesEnabled
bool isCollideWithBodiesEnabled()
- opAssign
Physics2DShapeQueryParameters opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(Physics2DShapeQueryParameters 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.
- setCollideWithAreas
void setCollideWithAreas(bool enable)
- setCollideWithBodies
void setCollideWithBodies(bool enable)
- setCollisionLayer
void setCollisionLayer(long collision_layer)
- setExclude
void setExclude(Array exclude)
- setMargin
void setMargin(double margin)
- setMotion
void setMotion(Vector2 motion)
- setShape
void setShape(Resource shape)
Set the Shape2D that will be used for collision/intersection queries.
- setShapeRid
void setShapeRid(RID shape)
- setTransform
void setTransform(Transform2D transform)
- collideWithAreas
bool collideWithAreas [@property getter]
bool collideWithAreas [@property setter]
- collideWithBodies
bool collideWithBodies [@property getter]
bool collideWithBodies [@property setter]
- collisionLayer
long collisionLayer [@property getter]
long collisionLayer [@property setter]
The physics layer the query should be made on.
- exclude
Array exclude [@property getter]
Array exclude [@property setter]
The list of objects or object RIDs, that will be excluded from collisions.
- margin
double margin [@property getter]
double margin [@property setter]
The collision margin for the shape.
- motion
Vector2 motion [@property getter]
Vector2 motion [@property setter]
The motion of the shape being queried for.
- shapeRid
RID shapeRid [@property getter]
RID shapeRid [@property setter]
The RID of the queried shape. See setShape also.
- transform
Transform2D transform [@property getter]
Transform2D transform [@property setter]
the transform matrix of the queried shape.
Parameters to be sent to a 2D shape physics query.
This class contains the shape and other parameters for intersection/collision queries.