2.8.39 TimeColorModel

Referenced by: TimeVariant4Behavior

An atom record that specifies the color model used by a color animation.

Let the corresponding time node be as specified in the TimePropertyList4TimeBehavior record that contains this TimeColorModel record.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

rh

...

type

colorModel

...

rh (8 bytes): A RecordHeader structure (section 2.3.1) that specifies the header for this record. Sub-fields are further specified in the following table.

Field

Meaning

rh.recVer

MUST be 0x0.

rh.recType

MUST be RT_TimeVariant.

rh.recLen

MUST be 0x00000005.

type (1 byte): A TimeVariantTypeEnum enumeration that specifies the data type of this record. It MUST be TL_TVT_Int.

colorModel (4 bytes): A signed integer that specifies the color model used by the color animation of the corresponding time node. It MUST be a value from the following table.

Value

Meaning

0x00000000

Use red, green, and blue color components in red-green-blue (RGB) color space.

0x00000001

Use hue, saturation, and luminance color components in HSL color space.

0x00000002

Use index to color scheme.