Studio::ParameterInstance::getValue

FMOD Studio API

Firelight Technologies FMOD Studio API

Studio::ParameterInstance::getValue

Retrieves the value of the parameter.

C++ Syntax

FMOD_RESULT Studio::ParameterInstance::getValue(
  float *value
);

C Syntax

FMOD_RESULT FMOD_Studio_ParameterInstance_GetValue(
  FMOD_STUDIO_PARAMETERINSTANCE *parameterinstance,
  float *value
);

C# Syntax

RESULT Studio.ParameterInstance.getValue(
  out float value
);

JavaScript Syntax

ParameterInstance.getValue(
  value                            // writes value to value.val
);

Parameters

value
Address of a variable to receive the parameter value.

Return Values

If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.

Remarks

NOTE: This class is deprecated. It will be removed in a future version. Please get and set parameter values using Studio::EventInstance::getParameterValue, Studio::EventInstance::setParameterValue, Studio::EventInstance::getParameterValueByIndex, and Studio::EventInstance::setParameterValueByIndex.

See Also




Version 1.10.03 Built on Feb 1, 2018