Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Experimental: this API is experimental and might be changed or removed in the future.

PlayableHandle.SetInputWeight

public bool SetInputWeight(int inputIndex, float weight);

Parameters

inputIndex The port index.
weight The weight. Should be between 0 and 1.

Description

Sets the weight of the Playable connected at the given input port index.