Timeline Mixer Documentation
|
A wrapper for Playables that allows some reverse traversal of the playable graph, and easy disconnection / reconnection of timeline track ports More...
Public Member Functions | |
List< int > | GetListConnectedInputs () |
Lets you obtain a list of connected inputs. More... | |
int | GetTrackPort (TrackAsset trackAsset) |
Allows you to find out what port corresponds to a given trackAsset. Use ONLY if this node is wrapping a TimelinePlayable. More... | |
bool | IsPortConnected (int port, bool isOutputPort) |
Query a port for its connection status. More... | |
int | GetConnectedInputCount () |
Gets a count of all connected inputs. More... | |
void | DisconnectTrack (TrackAsset track) |
Pass in a trackasset to disconnect the corresponding output. More... | |
int | GetOutputCount () |
void | AddInput (PlayableNode sourceNode, int sourceOutputPort, float weight=0f, bool useAvailiablePorts=true) |
Create a new connection. If there is a free port to connect to, that will be used instead of creating a new one. More... | |
float | GetInputWeight (int port) |
Get the current weight of an input port. More... | |
Playable | GetPlayable () |
Get the wrapped Playable More... | |
Public Attributes | |
Action | OnConnectInput |
Event triggered by a new connection. | |
Action | OnDisconnectInput |
Event triggered by a new disconnection. | |
Properties | |
string | Name [get, set] |
Set the Name of the node. | |
A wrapper for Playables that allows some reverse traversal of the playable graph, and easy disconnection / reconnection of timeline track ports
|
inline |
Create a new connection. If there is a free port to connect to, that will be used instead of creating a new one.
sourceNode | The PlayableNode to be connected |
sourceOutputPort | The output port on the source node that will be connected |
weight | The weight of this connection. 0 = no effect, 1 = full effect. |
|
inline |
Pass in a trackasset to disconnect the corresponding output.
track | The trackAsset to disconnect. |
|
inline |
Gets a count of all connected inputs.
|
inline |
Get the current weight of an input port.
port | The port to query. |
|
inline |
Lets you obtain a list of connected inputs.
|
inline |
|
inline |
Get the wrapped Playable
|
inline |
Allows you to find out what port corresponds to a given trackAsset. Use ONLY if this node is wrapping a TimelinePlayable.
trackAsset | The TrackAsset that should have a port allocated on this TimelineNode |
|
inline |
Query a port for its connection status.
port | The port to query. |
isOutputPort | True if finding information about an output port. |