A timeline element that spans a range of time.Begin/Update/End will be called in that order for each element. For any given update of its owning timeline, span events are called with the following semantics: - End is called on any elements that have ended this update - For each element existing at the current range, Begin is called (if necessary), then UpdateZero-duration spans will never have Begin/Update/End called on them.Therefore, spans are guaranteed to have at least one Update call in-between a Begin and End call
Verse using statement |
using { /Verse.org/Timeline } |
Inheritance Hierarchy
This class is derived from timeline_element.
| Name | Description |
|---|---|
timeline_element |
Abstract definition of any element that can be added to a timeline.See timeline_element_point and timeline_element_span. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
BeginTime |
?float |
The time this span begins. Defaults to 0.0.Must be <> NaN and <= EndTime in order for it to be updated or queriedMay be +/- Inf |
EndTime |
?float |
The time this span ends. Defaults to Inf.Must be <> NaN and >= BeginTime in order for it to be updated or queriedMay be +/- Inf. |
Order |
rational |
Defines how this element's behavior should be ordered along with other elements on the same timeline.Element Begin/Update functions are sorted in ascending order using |
Functions
| Function Name | Description |
|---|---|
SetRange |
Called to modify the timeline's range by assigning its begin and end times. |