nw::lyt::TextBox::GetVtxColor Member Function

Syntax

virtual const ut::Color8 GetVtxColor(
     u32 idx
) const;

Arguments

Name Description
idx Index. Specifies lyt::VertexColor.

Return Values

Returns the text display color.

Description

Gets the text display (vertex) color.

When idx is lyt::VERTEXCOLOR_LT, the top color is returned; when lyt::VERTEXCOLOR_LB, the bottom color.

Although lyt::VERTEXCOLOR_RT and lyt::VERTEXCOLOR_RB return the corresponding vertex colors, they are not used for display.

See Also

SetVtxColor
GetVtxColorElement
lyt::VertexColor

Revision History

2009/09/18
Initial version.

CONFIDENTIAL