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

Script language

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

PlayableExtensions.GetInputWeight

public static float GetInputWeight(U playable, int inputIndex);

Parameters

playable The Playable used by this operation.
inputIndex The port index.

Returns

float The current weight of the connected Playable.

Description

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

NOTE: This is a templated extension method that can be used on any type that inherits from IPlayable

Did you find this page useful? Please give it a rating: