nw::lyt::TextBox::FindMaterialByName Member Function

Syntax

virtual Material * FindMaterialByName(
     const char* findName,
     bool bRecursive = true
);

Arguments

Name Description
findName The material name to search for.
bRecursive Specify true to also search for child panes.

Return Values

When found, returns a pointer to the material with the material name given by findName. Otherwise, returns NULL.

Description

Searches for materials by name.

This function searches for the material with the material name given by findName.

When true is specified for bRecursive, the search is conducted in child panes and any child panes of those child panes.

Revision History

2009/09/18
Initial version.

CONFIDENTIAL