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 : NwcSetItemInheritance
Inherited Members
Constructors
NwcSelectionSet()
public NwcSelectionSet()NwcSelectionSet(string, IEnumerable<int>?)
public NwcSelectionSet(string name, IEnumerable<int>? nodeIds = null)Parameters
namestringnodeIdsIEnumerable<int>?
Properties
NodeIds
public List<int> NodeIds { get; }Property Value
NodePaths
public List<string> NodePaths { get; }Property Value
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
documentNwcDocument