summaryrefslogtreecommitdiff
path: root/doc/classes/PhysicsDirectSpaceState2DExtension.xml
blob: fbbb98a9598fbaa58c477efea3bd32f8fa326cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PhysicsDirectSpaceState2DExtension" inherits="PhysicsDirectSpaceState2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="_cast_motion" qualifiers="virtual">
			<return type="bool" />
			<param index="0" name="shape_rid" type="RID" />
			<param index="1" name="transform" type="Transform2D" />
			<param index="2" name="motion" type="Vector2" />
			<param index="3" name="margin" type="float" />
			<param index="4" name="collision_mask" type="int" />
			<param index="5" name="collide_with_bodies" type="bool" />
			<param index="6" name="collide_with_areas" type="bool" />
			<param index="7" name="closest_safe" type="float*" />
			<param index="8" name="closest_unsafe" type="float*" />
			<description>
			</description>
		</method>
		<method name="_collide_shape" qualifiers="virtual">
			<return type="bool" />
			<param index="0" name="shape_rid" type="RID" />
			<param index="1" name="transform" type="Transform2D" />
			<param index="2" name="motion" type="Vector2" />
			<param index="3" name="margin" type="float" />
			<param index="4" name="collision_mask" type="int" />
			<param index="5" name="collide_with_bodies" type="bool" />
			<param index="6" name="collide_with_areas" type="bool" />
			<param index="7" name="results" type="void*" />
			<param index="8" name="max_results" type="int" />
			<param index="9" name="result_count" type="int32_t*" />
			<description>
			</description>
		</method>
		<method name="_intersect_point" qualifiers="virtual">
			<return type="int" />
			<param index="0" name="position" type="Vector2" />
			<param index="1" name="canvas_instance_id" type="int" />
			<param index="2" name="collision_mask" type="int" />
			<param index="3" name="collide_with_bodies" type="bool" />
			<param index="4" name="collide_with_areas" type="bool" />
			<param index="5" name="results" type="PhysicsServer2DExtensionShapeResult*" />
			<param index="6" name="max_results" type="int" />
			<description>
			</description>
		</method>
		<method name="_intersect_ray" qualifiers="virtual">
			<return type="bool" />
			<param index="0" name="from" type="Vector2" />
			<param index="1" name="to" type="Vector2" />
			<param index="2" name="collision_mask" type="int" />
			<param index="3" name="collide_with_bodies" type="bool" />
			<param index="4" name="collide_with_areas" type="bool" />
			<param index="5" name="hit_from_inside" type="bool" />
			<param index="6" name="result" type="PhysicsServer2DExtensionRayResult*" />
			<description>
			</description>
		</method>
		<method name="_intersect_shape" qualifiers="virtual">
			<return type="int" />
			<param index="0" name="shape_rid" type="RID" />
			<param index="1" name="transform" type="Transform2D" />
			<param index="2" name="motion" type="Vector2" />
			<param index="3" name="margin" type="float" />
			<param index="4" name="collision_mask" type="int" />
			<param index="5" name="collide_with_bodies" type="bool" />
			<param index="6" name="collide_with_areas" type="bool" />
			<param index="7" name="result" type="PhysicsServer2DExtensionShapeResult*" />
			<param index="8" name="max_results" type="int" />
			<description>
			</description>
		</method>
		<method name="_rest_info" qualifiers="virtual">
			<return type="bool" />
			<param index="0" name="shape_rid" type="RID" />
			<param index="1" name="transform" type="Transform2D" />
			<param index="2" name="motion" type="Vector2" />
			<param index="3" name="margin" type="float" />
			<param index="4" name="collision_mask" type="int" />
			<param index="5" name="collide_with_bodies" type="bool" />
			<param index="6" name="collide_with_areas" type="bool" />
			<param index="7" name="rest_info" type="PhysicsServer2DExtensionShapeRestInfo*" />
			<description>
			</description>
		</method>
		<method name="is_body_excluded_from_query" qualifiers="const">
			<return type="bool" />
			<param index="0" name="body" type="RID" />
			<description>
			</description>
		</method>
	</methods>
</class>