nw::lyt::Pane::GetMaterial Member Function

Syntax

Material * GetMaterial() const;
virtual Material * GetMaterial(
     u32 idx
) const;

List of Overloaded Member Functions

GetMaterial( ) Gets the pane's material.
GetMaterial ( u32 ) Gets the pane's material.

Description of GetMaterial( )

Returns the first material (having index 0) if the pane has more than one material.

Returns NULL if the pane does not have any materials.

Description of GetMaterial ( u32 )

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.


CONFIDENTIAL