Documentation

Unity Engine

Unity Engine

GetInputWeight(int)

Gets the weight of the Playable connected at a specific input index.
Read time 1 minuteLast updated 2 months ago

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.