文档

Unity Engine


Unity Engine


GetWeight<U>(U)

Returns the weight of the connection from the PlayableOutput to the source playable.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetWeight<T>(T)

public static float GetWeight<U>(this U output) where U : struct, IPlayableOutput

Parameters

output

T
The PlayableOutput used by this operation.

Returns

Type

Description

floatThe 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.