2.8.76 TimeConditionAtom
Referenced by: TimeConditionContainer
An atom record that specifies the information used to evaluate when a condition will be true.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rh |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
triggerObject |
|||||||||||||||||||||||||||||||
triggerEvent |
|||||||||||||||||||||||||||||||
id |
|||||||||||||||||||||||||||||||
delay |
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.recInstance
MUST be 0x000.
rh.recType
MUST be an RT_TimeCondition.
rh.recLen
MUST be 0x00000010.
triggerObject (4 bytes): A TriggerObjectEnum enumeration that specifies the type of target that participates in the evaluation of the condition.
triggerEvent (4 bytes): An unsigned integer that specifies the event that causes the condition to be TRUE. It MUST be a value from the following table.
-
Value
Meaning
0x00000000
None.
0x00000001
OnBegin event that occurs on the specified target.
0x00000003
Start of the time node that is specified by id.
0x00000004
End of the time node that is specified by id.
0x00000005
Mouse click.
0x00000007
Mouse over.
0x00000009
OnNext event that occurs on the specified target.
0x0000000A
OnPrev event that occurs on the specified target.
0x0000000B
Stop audio event that occurs when an "onstopaudio" command is fired.
id (4 bytes): An unsigned integer that specifies the target that participates in the evaluation of the condition.
-
When triggerObject is TL_TOT_TimeNode, this field specifies the time node identifier.
-
When triggerObject is TL_TOT_RuntimeNodeRef, this field MUST be 0x00000002 that specifies that all child time node of the ExtTimeNodeContainer record (section 2.8.15) or SubEffectContainer record (section 2.8.16) that contains this record are the target.
delay (4 bytes): A signed integer that specifies the offset time, in milliseconds, that sets when the condition will become TRUE.