# PlayableBinding

> Struct that holds information regarding an output of a PlayableAsset.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.Playables](/engine/6000.0/script-reference/unityengine/playables.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public struct PlayableBinding
```

## Remarks

PlayableAssets specify the type of outputs it supports using PlayableBindings.

Do not create PlayableBinding objects directly. Use the provided built-in methods to create the corresponding [PlayableOutput](/engine/6000.0/script-reference/unityengine/playables/playableoutput.md). For example, to create a PlayableBinding for an [AnimationPlayableOutput](/engine/6000.0/script-reference/unityengine/animations/animationplayableoutput.md), use [AnimationPlayableBinding.Create](/engine/6000.0/script-reference/unityengine/animations/animationplayablebinding/create.md). To create a PlayableBinding for a [ScriptPlayableOutput](/engine/6000.0/script-reference/unityengine/playables/scriptplayableoutput.md), use [ScriptPlayableBinding.Create](/engine/6000.0/script-reference/unityengine/playables/scriptplayablebinding/create.md).

## Static Fields

| Value                                                                                                       | Description                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DefaultDuration](/engine/6000.0/script-reference/unityengine/playables/playablebinding/defaultduration.md) | The default duration used when a [PlayableOutput](/engine/6000.0/script-reference/unityengine/playables/playableoutput.md) has no fixed duration. |
| [None](/engine/6000.0/script-reference/unityengine/playables/playablebinding/none.md)                       | A constant to represent a PlayableAsset has no bindings.                                                                                          |

## Properties

| Property                                                                                                      | Description                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [outputTargetType](/engine/6000.0/script-reference/unityengine/playables/playablebinding/outputtargettype.md) | The type of target required by the [PlayableOutput](/engine/6000.0/script-reference/unityengine/playables/playableoutput.md) for this PlayableBinding. |
| [sourceObject](/engine/6000.0/script-reference/unityengine/playables/playablebinding/sourceobject.md)         | A reference to a [Object](/engine/6000.0/script-reference/unityengine/object.md) that acts a key for this binding.                                     |
| [streamName](/engine/6000.0/script-reference/unityengine/playables/playablebinding/streamname.md)             | The name of the output or input stream.                                                                                                                |
