IntersectingMeshPair

ReferencesSince v9.0
public readonly struct IntersectingMeshPair

Constructors

IntersectingMeshPair

#Since v9.0
public IntersectingMeshPair(int meshIndexA, int meshIndexB, int faceIndexA, int faceIndexB)
Initializes a new instance of IntersectingMeshPair.
meshIndexA (int)The index of the first mesh.
meshIndexB (int)The index of the second mesh.
faceIndexA (int)The index of a face of the first mesh.
faceIndexB (int)The index of a face of the second mesh.

Properties

FaceIndexA

#Since v9.0
public int FaceIndexA { get; }
The index of a face of the first mesh that intersects FaceIndexB, or -1 if it could not be determined.

FaceIndexB

#Since v9.0
public int FaceIndexB { get; }
The index of a face of the second mesh that intersects FaceIndexA, or -1 if it could not be determined.

MeshIndexA

#Since v9.0
public int MeshIndexA { get; }
The index of the first mesh, in meshesA.

MeshIndexB

#Since v9.0
public int MeshIndexB { get; }
The index of the second mesh, in meshesB, or in meshesA when meshesB is null.

Methods

Deconstruct

#Since v9.0
public void Deconstruct(out int meshIndexA, out int meshIndexB, out int faceIndexA, out int faceIndexB)
Deconstructs this pair, so that it can be written as var (meshIndexA, meshIndexB, _, _) = pair;.
meshIndexA (out int)Receives MeshIndexA.
meshIndexB (out int)Receives MeshIndexB.
faceIndexA (out int)Receives FaceIndexA.
faceIndexB (out int)Receives FaceIndexB.