Firelight Technologies FMOD Studio API
ChannelGroup::get3DLevel
Retrieves the current 3D mix level set by ChannelControl::set3DPanLevel.
C++ Syntax
FMOD_RESULT ChannelGroup::get3DLevel(
float *level
);
C Syntax
FMOD_RESULT FMOD_ChannelGroup_Get3DLevel(
FMOD_CHANNELGROUP *channelgroup,
float *level
);
C# Syntax
RESULT ChannelGroup.get3DLevel(
out float level
);
JavaScript Syntax
ChannelGroup.get3DLevel(
level // writes value to level.val
);
Parameters
- level
- 3D pan level from 0.0 (attenuation is ignored and panning as set by 2D panning functions) to 1.0 (pan and attenuate according to 3D position).
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.
See Also
- ChannelControl::set3DPanLevel
Version 1.10.03 Built on Feb 1, 2018