PlayableBinding

struct in UnityEngine.Playables

Switch to Manual

Description

用于保存有关 PlayableAsset 输出的信息的结构。

PlayableAsset 使用 PlayableBinding 指定它支持的输出类型。

Do not create PlayableBinding objects directly. Use the provided built-in methods to create the corresponding PlayableOutput. For example, to create a PlayableBinding for an AnimationPlayableOutput, use AnimationPlayableBinding.Create. To create a PlayableBinding for a ScriptPlayableOutput, use ScriptPlayableBinding.Create.

Static Variables

DefaultDuration在 PlayableOutput 没有固定持续时间时采用的默认持续时间。
None用于表示 PlayableAsset 没有任何绑定的常量。

Variables

outputTargetTypeThe type of target required by the PlayableOutput for this PlayableBinding.
sourceObject对 UnityEngine.Object(充当此绑定的键)的引用。
streamName输出流或输入流的名称。