Table of Contents

Class NwcSelectionSet

Namespace
NwcIO.Model.Sets
Assembly
NwcIO.dll

An explicit selection set holding a static collection of model nodes selected by ID or path.

public sealed class NwcSelectionSet : NwcSetItem

Inheritance

Inherited Members

Constructors

NwcSelectionSet()

public NwcSelectionSet()

NwcSelectionSet(string, IEnumerable<int>?)

public NwcSelectionSet(string name, IEnumerable<int>? nodeIds = null)

Parameters

name string
nodeIds IEnumerable<int>?

Properties

NodeIds

public List<int> NodeIds { get; }

Property Value

List<int>

NodePaths

public List<string> NodePaths { get; }

Property Value

List<string>

Methods

ResolveNodes(NwcDocument)

Resolves the actual NwcIO.Model.NwcNode instances from the document scene tree matching this selection set.

public IReadOnlyList<NwcNode> ResolveNodes(NwcDocument document)

Parameters

document NwcDocument

Returns

IReadOnlyList<NwcNode>