Api Pair
struct

Pair

public sealed struct Pair

A pair of case- and order-insensitive tags, used as a key to look up a Result.

Constructors

Pair(String left, String right)

Initializes from a pair of tags.

Properties

Name Type Description
Left String First of the two tags.
Right String Second of the two tags.

Methods

Boolean Contains(String tag)

Returns true if either Left or Right matches the given tag.

virtual IEnumerator<String> GetEnumerator()
Assembly: Sandbox.Engine Declaring Type: CollisionRules Full Name: Sandbox.Physics.CollisionRules.Pair