Merge pull request #30078 from Zylann/document_vs_cull_ray
Document VisualServer.instances_cull_ray
This commit is contained in:
commit
caf8e20f2a
1 changed files with 2 additions and 0 deletions
|
@ -1951,6 +1951,8 @@
|
||||||
<argument index="2" name="scenario" type="RID">
|
<argument index="2" name="scenario" type="RID">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
Returns an array of object IDs intersecting with the provided 3D ray. Only visual 3D nodes are considered, such as [MeshInstance] or [DirectionalLight]. Use [method @GDscript.instance_from_id] to obtain the actual nodes. A scenario RID must be provided, which is available in the [World] you want to query.
|
||||||
|
Warning: this function is primarily intended for editor usage. For in-game use cases, prefer physics collision.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="light_directional_set_blend_splits">
|
<method name="light_directional_set_blend_splits">
|
||||||
|
|
Loading…
Reference in a new issue