Api > PlayableDirector > GetGenericBinding()
PlayableDirector.GetGenericBinding(Object key)⚓︎
Returns a binding to a reference object. In Timeline this is the track to bind an object to. This typically corresponds to the PlayableBinding.sourceObject in the PlayableAsset.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
key | Object | The object that acts as a key. |
Returns:⚓︎
type | Description |
---|---|
Object | binding to a reference object. |
Usage⚓︎
---@type PlayableDirector
local playabledirector;
---@type Object
local key;
local val0 = playabledirector.GetGenericBinding(key)