Struct FaceHandle ​
Namespace: ValveResourceFormat.IO.ContentFormats.HalfEdgeMesh
Assembly: ValveResourceFormat.dll
A face of a specific mesh, addressed through the mesh it came from.
public readonly record struct FaceHandle : IEquatable<FaceHandle>Implements ​
Properties ​
Edge ​
Gets or sets one of the half edges bordering this face.
public HalfEdgeHandle Edge { get; set; }Property Value ​
Index ​
Index of the face within the mesh.
public int Index { get; }Property Value ​
int
Invalid ​
A handle that addresses no face.
public static FaceHandle Invalid { get; }Property Value ​
IsValid ​
Whether the handle still addresses a live face.
public bool IsValid { get; }Property Value ​
bool
Methods ​
Equals(FaceHandle) ​
Indicates whether the current object is equal to another object of the same type.
public bool Equals(FaceHandle other)Parameters ​
other FaceHandle
An object to compare with this object.
Returns ​
bool
true if the current object is equal to the other parameter; otherwise, false.
GetHashCode() ​
Returns the hash code for this instance.
public override int GetHashCode()Returns ​
int
A 32-bit signed integer that is the hash code for this instance.
ToString() ​
Returns the fully qualified type name of this instance.
public override string ToString()Returns ​
string
The fully qualified type name.

