nw::gfx::SceneHelper::ForeachRootNodes Member Function

Syntax

template <typename TIterator, typename TFunction>
static void ForeachRootNodes(
     TIterator begin,
     TIterator end,
     TFunction function
);

Template Arguments

Name Description
TIterator Iterator for collection of scene nodes.
TFunction The process run on scene nodes with NULL parent.

Arguments

Name Description
begin The beginning of the scene node collection.
end The end of the scene node collection.
function The process run on scene nodes.

Return Values

None.

Description

Runs a process on those nodes with NULL parent from a collection of scene nodes.


CONFIDENTIAL