getVideoEffectFloatParam

Gets the value of the specified float type parameter in the video effect.

abstract getVideoEffectFloatParam(option: string, key: string): number;
Since
Available since v4.6.2.

Parameters

option
The category of the option to which the parameter belongs.
key
The key name of the parameter.

Return Values

  • If the parameter exists, returns the corresponding float value.
  • If the parameter does not exist or an error occurs, returns 0.0f.