VisualServerInstancesCullAabb Method |
Returns an array of object IDs intersecting with the provided AABB. Only visual 3D nodes are considered, such as MeshInstance or DirectionalLight. Use @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. This forces an update for all resources queued to update.
Warning: This function is primarily intended for editor usage. For in-game use cases, prefer physics collision.
Namespace: Godot
public static Array InstancesCullAabb( AABB aabb, RID scenario = null )
[Missing <param name="aabb"/> documentation for "M:Godot.VisualServer.InstancesCullAabb(Godot.AABB,Godot.RID)"]
[Missing <param name="scenario"/> documentation for "M:Godot.VisualServer.InstancesCullAabb(Godot.AABB,Godot.RID)"]
[Missing <returns> documentation for "M:Godot.VisualServer.InstancesCullAabb(Godot.AABB,Godot.RID)"]