[ Maverik Level 1 functions ]


mav_paletteColourSet

Summary

Define an ambient colour entry in a palette.


Syntax

void mav_paletteColourSet(MAV_palette *p, int index, float r, float g, float b, float a);


Description

This function defines ambient colour entry index of palette p as specified by r, g, b and a.

N.B. For transparent colours to be handled correctly, the options variable mav_opt_trans must be set to MAV_TRUE before mav_initialise is called.


See also

mav_paletteMaterialSet.html>mav_paletteMaterialSet, mav_paletteTextureSet.html>mav_paletteTextureSet


Back to the index page.