NIFF 1.0 Specification

3. Binary Format

3.8 ColorList


4) TriColor Area

The TriColor area stores one polygon color. The area is mapped as follows.
float red_component
float green_component
float blue_component
float alpha_component

TriColor Area Memory Map
float red_component Red component of polygon color
0 <= red_component <= 1.0
float green_component Green component of polygon color
0 <= green_component <= 1.0
float blue_component Blue component of polygon color
0 <= blue_component <= 1.0
float alpha_component Alpha component of polygon color
0 <= alpha_component <= 1.0

PreviousNext

Copyright 1997-1999 NINTENDO Co., Ltd. All rights reserved.