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