Documentation

Unity Engine


Unity Engine


GetWeight<U>(U)

Returns the weight of the connection from the PlayableOutput to the source playable.
Read time 1 minuteLast updated a month ago

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.