GetWeight<U>(U)
Returns the weight of the connection from the PlayableOutput to the source playable.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
GetWeight<T>(T)
public static float GetWeight<U>(this U output) where U : struct, IPlayableOutput
Parameters
The PlayableOutput used by this operation.
Returns
Type | Description |
|---|---|
| float | The weight of the connection to the source playable. |
Remarks
The details are specific to the type of PlayableOutput. For Example, in AnimationPlayableOutput, the weight determines how multiple outputs targeting animator will blend together.