FMOD Engine User Manual 2.03
An interface that manages virtual 3D reverb spheres. See the 3D Reverb guide for more information.
General:
Retrieves the 3D attributes of a reverb sphere.
FMOD_RESULT Reverb3D::get3DAttributes(
FMOD_VECTOR *position,
float *mindistance,
float *maxdistance
);
FMOD_RESULT FMOD_Reverb3D_Get3DAttributes(
FMOD_REVERB3D *reverb3d,
FMOD_VECTOR *position,
float *mindistance,
float *maxdistance
);
RESULT Reverb3D.get3DAttributes(
ref VECTOR position,
ref float mindistance,
ref float maxdistance
);
Reverb3D.get3DAttributes(
position,
mindistance,
maxdistance
);
See the 3D Reverb guide for more information.
See Also: Reverb3D::set3DAttributes
Retrieves the active state.
FMOD_RESULT Reverb3D::getActive(
bool *active
);
FMOD_RESULT FMOD_Reverb3D_GetActive(
FMOD_REVERB3D *reverb3d,
FMOD_BOOL *active
);
RESULT Reverb3D.getActive(
out bool active
);
Reverb3D.getActive(
active
);
Active state of the reverb sphere.
See the 3D Reverb guide for more information.
See Also: Reverb3D::setActive
Retrieves the environmental properties of a reverb sphere.
FMOD_RESULT Reverb3D::getProperties(
FMOD_REVERB_PROPERTIES *properties
);
FMOD_RESULT FMOD_Reverb3D_GetProperties(
FMOD_REVERB3D *reverb3d,
FMOD_REVERB_PROPERTIES *properties
);
RESULT Reverb3D.getProperties(
ref REVERB_PROPERTIES properties
);
Reverb3D.getProperties(
properties
);
See the 3D Reverb guide for more information.
See Also: Reverb3D::setProperties
Retrieves a user value associated with this object.
FMOD_RESULT Reverb3D::getUserData(
void **userdata
);
FMOD_RESULT FMOD_Reverb3D_GetUserData(
FMOD_REVERB3D *reverb3d,
void **userdata
);
RESULT Reverb3D.getUserData(
out IntPtr userdata
);
Reverb3D.getUserData(
userdata
);
This function allows arbitrary user data to be retrieved from this object. See the User Data section of the glossary for an example of how to get and set user data.
See Also: 3D Reverb
Releases the memory for a reverb object and makes it inactive.
FMOD_RESULT Reverb3D::release();
FMOD_RESULT FMOD_Reverb3D_Release(FMOD_REVERB3D *reverb3d);
RESULT Reverb3D.release();
Reverb3D.release();
If you release all Reverb3D objects and have not added a new Reverb3D object, System::setReverbProperties should be called to reset the reverb properties.
See Also: System::createReverb3D
Sets the 3D attributes of a reverb sphere.
FMOD_RESULT Reverb3D::set3DAttributes(
const FMOD_VECTOR *position,
float mindistance,
float maxdistance
);
FMOD_RESULT FMOD_Reverb3D_Set3DAttributes(
FMOD_REVERB3D *reverb3d,
const FMOD_VECTOR *position,
float mindistance,
float maxdistance
);
RESULT Reverb3D.set3DAttributes(
ref VECTOR position,
float mindistance,
float maxdistance
);
Reverb3D.set3DAttributes(
position,
mindistance,
maxdistance
);
Position in 3D space represnting the center of the reverb. (FMOD_VECTOR)
Distance from the centerpoint within which the reverb will have full effect.
Distance from the centerpoint beyond which the reverb will have no effect.
See the 3D Reverb guide for more information.
When the position of the listener is less than maxdistance away from the position of one or more reverb objects, the listener's 3D reverb properties are a weighted combination of those reverb objects. Otherwise, the reverb DSP will use the global reverb settings.
See Also: Reverb3D::get3DAttributes
Sets the active state.
FMOD_RESULT Reverb3D::setActive(
bool active
);
FMOD_RESULT FMOD_Reverb3D_SetActive(
FMOD_REVERB3D *reverb3d,
FMOD_BOOL active
);
RESULT Reverb3D.setActive(
bool active
);
Reverb3D.setActive(
active
);
Active state of the reverb sphere.
See the 3D Reverb guide for more information.
See Also: Reverb3D::getActive
Sets the environmental properties of a reverb sphere.
FMOD_RESULT Reverb3D::setProperties(
const FMOD_REVERB_PROPERTIES *properties
);
FMOD_RESULT FMOD_Reverb3D_SetProperties(
FMOD_REVERB3D *reverb3d,
const FMOD_REVERB_PROPERTIES *properties
);
RESULT Reverb3D.setProperties(
ref REVERB_PROPERTIES properties
);
Reverb3D.setProperties(
properties
);
See the 3D Reverb guide for more information.
Reverb presets are available, see FMOD_REVERB_PRESETS.
See Also: Reverb3D::getProperties
Sets a user value associated with this object.
FMOD_RESULT Reverb3D::setUserData(
void *userdata
);
FMOD_RESULT FMOD_Reverb3D_SetUserData(
FMOD_REVERB3D *reverb3d,
void *userdata
);
RESULT Reverb3D.setUserData(
IntPtr userdata
);
Reverb3D.setUserData(
userdata
);
This function allows arbitrary user data to be attached to this object. See the User Data section of the glossary for an example of how to get and set user data.
See Also: Reverb3D::getUserData