Color

<< Click to Display Table of Contents >>

Navigation:  NxLib API > Tree > Objects > 0 > Lighting >

Color

A three element vector specifying the red, green and blue color components of the object surface.

Format

Array

The RGB colors of the object in the range 0 to 1; i.e. [0,0,0] specifies a black object, [1,1,1] specifies a completely white object.

Default

[0.6, 0.6, 0.6]