Table of Contents

Class PhysSceneNode

Namespace
ValveResourceFormat.Renderer
Assembly
Renderer.dll

Scene node that visualizes physics collision shapes.

public class PhysSceneNode : ShapeSceneNode

Inheritance

Inherited Members

Constructors

PhysSceneNode(Scene, List<SimpleVertexNormal>, List<int>)

public PhysSceneNode(Scene scene, List<SimpleVertexNormal> verts, List<int> inds)

Parameters

scene Scene
verts List<SimpleVertexNormal>
inds List<int>

Properties

Enabled

public bool Enabled { get; set; }

Property Value

bool

LayerEnabled

public override bool LayerEnabled { get; }

Property Value

bool

PhysGroupName

public required string PhysGroupName { get; init; }

Property Value

string

Methods

CreatePhysSceneNodes(Scene, PhysAggregateData, string?, string?)

public static IEnumerable<PhysSceneNode> CreatePhysSceneNodes(Scene scene, PhysAggregateData phys, string? fileName, string? classname = null)

Parameters

scene Scene
phys PhysAggregateData
fileName string?
classname string?

Returns

IEnumerable<PhysSceneNode>