nw::lyt::Bounding::GetMaterial Member Function

Syntax

virtual Material * GetMaterial(
     u32 idx
) const;

Arguments

Name Description
idx Index.

Return Values

Returns the pointer to the material.

Description

Gets the pane's material.

The material having the corresponding index is returned.

The meaning of the index differs depending on the derived class.

The index must be less than the value returned by GetMaterialNum().

Returns NULL if the pane does not have any materials.

See Also

GetMaterialNum

Revision History

2009/09/18
Initial version.

CONFIDENTIAL