2.8.40 TimeColorDirection

Referenced by: TimeVariant4Behavior

An atom record that specifies the interpolation direction of a color animation.

Let the corresponding time node be as specified in the TimePropertyList4TimeBehavior record that contains this TimeColorDirection 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

colorDirection

...

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 an 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.

colorDirection (4 bytes): A signed integer that specifies the interpolation direction of the color animation of the corresponding time node. It MUST be a value from the following table.

Value

Meaning

0x00000000

Use clockwise direction for the hue component in HSL color space.

0x00000001

Use counterclockwise direction for the hue component in HSL color space.