getVideoEffectFloatParam

Retrieves float type parameters in video effects.

virtual float getVideoEffectFloatParam(const char* option, const char* key) = 0;
Since:
Available since v4.6.0.

Used to retrieve the value of a float type parameter corresponding to the specified option and key in video effects.

Restrictions

None.

Parameters

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

Returns

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