PhysicsLayerRegistry.ForLayers(ReadOnlySpan) Method
Definition
Namespace: Brine2D.Physics
Returns a PhysicsQueryFilter that hits shapes on any of the given named layers.
Parameters
names System.ReadOnlySpan<System.String>
Returns
Exceptions
System.Collections.Generic.KeyNotFoundException
Thrown when any name has not been registered.