Members
Methods
addAction(arg0_json, arg1_optionsopt) → {DALS.Action}
Adds a given action to the current timeline and immediately parses it by default.
- Method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_json |
Object
|
string
|
||||||||||||
arg1_options |
Object
|
<optional> |
|
Returns:
- Type:
-
DALS.Action
branch(arg0_options) → {DALS.Timeline}
Branches off a new timeline from the current timeline. If the current timeline is not selected, the branch node is automatically placed at the end of the timeline.
- Method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_options |
Object
|
Refer to DALS.Timeline.options for information on what options are acceptable. |
Returns:
- Type:
-
DALS.Timeline
jumpToAction(arg0_action_id)
Jumps to a specific action ID in the timeline, starting from its head, utilising .parseAction()
- Method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_action_id |
number
|
string
|
removeAction(arg0_action_id)
Removes an action from the timeline based upon its ID.
- Method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_action_id |
string
|
(static) getTimeline(arg0_timeline_id) → {DALS.Timeline}
Returns a DALS.Timeline object based upon a timeline ID string.
- Static method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_timeline_id |
Object
|
string
|
Returns:
- Type:
-
DALS.Timeline
(static) jumpToTimeline(arg0_timeline_id)
Jumps to the start of a timeline based off its ID.
- Static method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_timeline_id |
DALS.Timeline
|
string
|
(static) load(arg0_file_path)
Loads in a new state based upon the JSON data contained at a file path.
- Static method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_file_path |
string
|
(static) save(arg0_file_path)
Saves the present state as JSON to a new file path.
- Static method of: DALS.Timeline
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_file_path |
string
|