API Referenceglobal
public sealed struct Sandbox.Physics.CollisionRules.Pair
A pair of case- and order-insensitive tags, used as a key to look up a `Sandbox.Physics.CollisionRules.Result`.
Constructors
Showing 1 constructors
public Pair(string left, string right)
Initializes from a pair of tags.
No results match this filter.
Methods
Showing 2 methods
public bool Contains(string tag)
Returns true if either `Sandbox.Physics.CollisionRules.Pair.Left` or `Sandbox.Physics.CollisionRules.Pair.Right` matches the given tag.
public virtual sealed System.Collections.Generic.IEnumerator`1<string> GetEnumerator()
No results match this filter.
Properties
Showing 2 properties
public string Sandbox.Physics.CollisionRules.Pair.Left { get; set; }
First of the two tags.
public string Sandbox.Physics.CollisionRules.Pair.Right { get; set; }
Second of the two tags.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Physics.CollisionRules.Pair |