기술 자료

Unity Engine

Unity Engine

GetWeight<U>(U)

Returns the weight of the connection from the PlayableOutput to the source playable.
읽는 시간 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.