Class WorldNodeLoader
Namespace: ValveResourceFormat.Renderer.World
Assembly: Renderer.dll
Loads scene objects and aggregates from a world node resource.
csharp
public class WorldNodeLoaderInheritance
Constructors
WorldNodeLoader(RendererContext, WorldNode, ResourceExtRefList?)
Initializes a new for the given world node.
csharp
public WorldNodeLoader(RendererContext rendererContext, WorldNode node, ResourceExtRefList? externalReferences = null)Parameters
rendererContext RendererContext
The renderer context used for loading resources.
node WorldNode
The world node data to load objects from.
externalReferences ResourceExtRefList?
Optional external resource reference list for parallel preloading.
Properties
LayerNames
Gets the layer names defined in this world node.
csharp
public string[] LayerNames { get; }Property Value
string[]
Methods
Load(Scene)
Loads all scene objects and aggregates from the world node into the given scene.
csharp
public void Load(Scene scene)Parameters
scene Scene
The scene to add loaded objects to.

