Class PhysicsVertexMatcher
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
Matches vertices between render meshes and physics meshes.
csharp
public class PhysicsVertexMatcherInheritance
Constructors
PhysicsVertexMatcher(MeshDescriptor[])
Initializes a new instance of the class.
csharp
public PhysicsVertexMatcher(MeshDescriptor[] meshes)Parameters
meshes MeshDescriptor[]
Properties
LastPositions
Gets or sets the last set of positions scanned.
csharp
public object? LastPositions { get; set; }Property Value
PhysicsMeshes
Gets the list of physics meshes.
csharp
public List<PhysicsVertexMatcher.PhysMeshData> PhysicsMeshes { get; }Property Value
List<PhysicsVertexMatcher.PhysMeshData>
Methods
ScanPhysicsPointCloudForMatches(ReadOnlySpan<Vector3>, IProgress<string>?)
Scans physics meshes to find matching vertices from render mesh positions.
csharp
public void ScanPhysicsPointCloudForMatches(ReadOnlySpan<Vector3> renderMeshPositions, IProgress<string>? progressReporter)Parameters
renderMeshPositions ReadOnlySpan<Vector3>

