diff options
author | Ninni Pipping <over999ships@gmail.com> | 2023-06-21 11:06:32 +0200 |
---|---|---|
committer | Ninni Pipping <over999ships@gmail.com> | 2023-06-22 17:01:08 +0200 |
commit | 9159208ed1c850437946d4f93c407bb5d51f4258 (patch) | |
tree | 4dfeeee5790de8ba0298022f79b250a82dac34a8 /doc/classes/PhysicsShapeQueryParameters2D.xml | |
parent | e74bf831c2d3ece79b849405f03999281f807648 (diff) | |
download | redot-engine-9159208ed1c850437946d4f93c407bb5d51f4258.tar.gz |
Ensure `RID`, `Callable`, and `Signal` are stored as strings
Prevents parser errors in `.tscn` and `.tres` files where the assignment
would otherwise be empty.
Diffstat (limited to 'doc/classes/PhysicsShapeQueryParameters2D.xml')
-rw-r--r-- | doc/classes/PhysicsShapeQueryParameters2D.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/PhysicsShapeQueryParameters2D.xml b/doc/classes/PhysicsShapeQueryParameters2D.xml index fe4f902d75..a8de91736b 100644 --- a/doc/classes/PhysicsShapeQueryParameters2D.xml +++ b/doc/classes/PhysicsShapeQueryParameters2D.xml @@ -30,7 +30,7 @@ <member name="shape" type="Resource" setter="set_shape" getter="get_shape"> The [Shape2D] that will be used for collision/intersection queries. This stores the actual reference which avoids the shape to be released while being used for queries, so always prefer using this over [member shape_rid]. </member> - <member name="shape_rid" type="RID" setter="set_shape_rid" getter="get_shape_rid"> + <member name="shape_rid" type="RID" setter="set_shape_rid" getter="get_shape_rid" default="RID()"> The queried shape's [RID] that will be used for collision/intersection queries. Use this over [member shape] if you want to optimize for performance using the Servers API: [codeblocks] [gdscript] |