Table of Contents

Class PhysicsVertexMatcher

Namespace
ValveResourceFormat.IO
Assembly
ValveResourceFormat.dll

Matches vertices between render meshes and physics meshes.

public class PhysicsVertexMatcher

Inheritance

Inherited Members

Constructors

PhysicsVertexMatcher(MeshDescriptor[])

Initializes a new instance of the ValveResourceFormat.IO.PhysicsVertexMatcher class.

public PhysicsVertexMatcher(MeshDescriptor[] meshes)

Parameters

meshes MeshDescriptor[]

Properties

LastPositions

Gets or sets the last set of positions scanned.

public object? LastPositions { get; set; }

Property Value

object?

PhysicsMeshes

Gets the list of physics meshes.

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.

public void ScanPhysicsPointCloudForMatches(ReadOnlySpan<Vector3> renderMeshPositions, IProgress<string>? progressReporter)

Parameters

renderMeshPositions ReadOnlySpan<Vector3>
progressReporter IProgress<string>?