PhysicsLayerRegistry.ForLayer(string) Method
Definition¶
Namespace: Brine2D.Physics
Returns a PhysicsQueryFilter that hits shapes on the given named layer.
public Brine2D.Physics.PhysicsQueryFilter ForLayer(string name);
Parameters¶
name System.String
Returns¶
Exceptions¶
System.Collections.Generic.KeyNotFoundException
Thrown when the name has not been registered.