new Channel(path, owner, type)
Parameters:
Name | Type | Description |
---|---|---|
path |
string | Path of the target variable. |
owner |
Action | Which action this channel is in. |
type |
CHANNEL_TYPE | Type of this channel. |
- Source:
Members
-
duration :number
-
Time between the first and last key.
Type:
- number
- Source:
-
keys :array.<module:engine/anime/action~Key>
-
Key list.
Type:
- array.<module:engine/anime/action~Key>
- Source:
-
owner :module:engine/anime/action~Action
-
Which action is this channel belongs to
Type:
- Source:
-
path :string
-
Full path to the property
Type:
- string
- Source:
-
type :string|number
-
Type of this channel, valid types are:
- VALUE
- EVENT
Type:
- string | number
- Source: