PlayableExtensions.GetInputWeight

Declaration

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.

Use this templated extension method on any type that inherits from IPlayable.


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