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