Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Playable.GetInputWeight

Switch to Manual
public float GetInputWeight(int inputIndex);

Parameters

inputIndex Index of the Playable.

Returns

float Weight of the input Playable. Returns -1 if there is no input connected at this input index.

Description

Get the weight of the Playable at a specified index.