yucad3d

CadRProfPutColor

Sets the colour of the road profile.

void CadRProfPutColor ( YuHandle hRProf, std::int32_t Mode, std::int32_t Color );

Parameters

hRProf (YuHandle)
Handle to the road profile, as returned by CadAddRProf.
Mode (std::int32_t)
Mode selector — see the constants referenced in the description.
Color (std::int32_t)
Colour value (see the function description: ACI palette index 1-255, or a COLORREF 0x00BBGGRR).

Return Value

None.

See Also