Class PhysSceneNode
- Namespace
- ValveResourceFormat.Renderer
- Assembly
- Renderer.dll
Scene node that visualizes physics collision shapes.
public class PhysSceneNode : ShapeSceneNodeInheritance
Inherited Members
Constructors
PhysSceneNode(Scene, List<SimpleVertexNormal>, List<int>)
public PhysSceneNode(Scene scene, List<SimpleVertexNormal> verts, List<int> inds)Parameters
sceneScenevertsList<SimpleVertexNormal>indsList<int>
Properties
Enabled
public bool Enabled { get; set; }Property Value
LayerEnabled
public override bool LayerEnabled { get; }Property Value
PhysGroupName
public required string PhysGroupName { get; init; }Property Value
Methods
CreatePhysSceneNodes(Scene, PhysAggregateData, string?, string?)
public static IEnumerable<PhysSceneNode> CreatePhysSceneNodes(Scene scene, PhysAggregateData phys, string? fileName, string? classname = null)Parameters
sceneScenephysPhysAggregateDatafileNamestring?classnamestring?