Get Media Length
Last updated
Last updated
The Get Media Length Node returns the duration of a Media Object or Asset either in Seconds
(Video & Audio) or in Frames
(Video only). The Node's input and output change depending on what is selected in its Attributes.
Scope: Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| Dropdown | Gives the options for the Node's input type. It can be either |
| Dropdown | Gives the options for the Node's output type. It can be either |
The Attributes decide whether Object ID
or Media ID
appears as input.
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| ObjectID | The ID of the desired Media Object whose duration length will be returned. |
The Attributes decide whether Seconds
or Frames
appears as output.
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Float | The duration in seconds. |