| DRSceneNodeContentGetSubtree Method (Boolean) |
Gets the subtree (the given node and all of its descendants) using a depth-first or a
breadth-first search.
Namespace: DigitalRune.Graphics.Content.PipelineAssembly: DigitalRune.Graphics.Content.Pipeline (in DigitalRune.Graphics.Content.Pipeline.dll) Version: 1.2.0.0 (1.2.0.14454)
Syntax public IEnumerable<DRSceneNodeContent> GetSubtree(
bool depthFirst
)
Public Function GetSubtree (
depthFirst As Boolean
) As IEnumerable(Of DRSceneNodeContent)
public:
IEnumerable<DRSceneNodeContent^>^ GetSubtree(
bool depthFirst
)
member GetSubtree :
depthFirst : bool -> IEnumerable<DRSceneNodeContent>
Parameters
- depthFirst
- Type: SystemBoolean
If set to then a depth-first search for descendants will be made;
otherwise a breadth-first search will be made.
Return Value
Type:
IEnumerableDRSceneNodeContent
The subtree (the given node and all of its descendants).
See Also