文档

Unity Engine

Unity Engine

GetInputWeight(int)

Gets the weight of the Playable connected at a specific input index.
阅读时间1 分钟最后更新于 1 个月前

Definition

public float GetInputWeight(int index)

Parameters

index

The input index.

Returns

Type

Description

floatReturns the weight of the Playable input as a float.

Remarks

Additional Resources: AnimationStream.inputStreamCount.