IntersectingMeshPair

ReferencesSince v9.0
public readonly struct IntersectingMeshPair

Constructors

IntersectingMeshPair

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

Properties

FaceIndexA

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

FaceIndexB

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

MeshIndexA

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

MeshIndexB

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

Methods

Deconstruct

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