TestIntersectsArea2D
Inherits: QueryTest2D < Node2D
A query test that checks if QueryContext2D is intersecting an area using Shape2D.
Description
A query test that checks if QueryContext2D is intersecting an area using Shape2D.
Properties
|
|
|
|
cost |
|
|
||
TestIntersectsArea2D.ShapeCastMode |
|
|
test_type |
|
Property Descriptions
int collision_mask = 1 🔗
void set_collision_mask(value:
int)intget_collision_mask()
The physics layers this test scans.
QueryContext2D context 🔗
void set_context(value: QueryContext2D)
QueryContext2D get_context()
The context to be tested.
Shape2D shape 🔗
void set_shape(value:
Shape2D)Shape2Dget_shape()
The actual shape that will be used in the PhysicsShapeQueryParameters2D.
TestIntersectsArea2D.ShapeCastMode shape_cast_mode = 0 🔗
void set_shape_cast_mode(value: TestIntersectsArea2D.ShapeCastMode)
TestIntersectsArea2D.ShapeCastMode get_shape_cast_mode()
What types of collision objects the test will scan.