getVideoEffectFloatParam
Gets the value of the specified float type parameter in a video effect.
Future<double> getVideoEffectFloatParam(
{required String option, required String key});
- 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
floatvalue. - If the parameter does not exist or an error occurs, returns 0.0f.