Struct VertexHandle ​
Namespace: ValveResourceFormat.IO.ContentFormats.HalfEdgeMesh
Assembly: ValveResourceFormat.dll
A vertex of a specific mesh, addressed through the mesh it came from.
public readonly record struct VertexHandle : IEquatable<VertexHandle>Implements ​
Properties ​
Edge ​
Gets or sets the half edge emanating from this vertex.
public HalfEdgeHandle Edge { get; set; }Property Value ​
Index ​
Index of the vertex within the mesh.
public int Index { get; }Property Value ​
int
Invalid ​
A handle that addresses no vertex.
public static VertexHandle Invalid { get; }Property Value ​
IsValid ​
Whether the handle still addresses a live vertex.
public bool IsValid { get; }Property Value ​
bool
Methods ​
Equals(VertexHandle) ​
Indicates whether the current object is equal to another object of the same type.
public bool Equals(VertexHandle other)Parameters ​
other VertexHandle
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.

