#import <AMMix3DControl.h>
Public Member Functions | |
(void) | - applySettingsToInstance: |
Apply the 3D parameters to the given audio object instance. | |
Properties | |
AMVec3 | position |
The 3D location of the sound source. | |
BOOL | autoDoppler |
Automatically calculate the velocity based on the location changes of the sound source if enabled. | |
int | autoDopplerFactor |
The factor used when automatic Doppler is enabled. | |
AMVec3 | orientation |
The orientation of the sound source, set by a 3D vector. | |
AMVec3 | velocity |
The sound source velocity, used for the Doppler effect if enabled. | |
BOOL | dopplerEnabled |
Enables or not the Doppler effect. | |
AMVec3 | directivity |
The directivity of the sound source. | |
int | occlusionHFLevel |
int | occlusionLevel |
int | rolloffMinDist |
int | rolloffMaxDist |
int | rolloffFactor |
The attenuation factor between the min. | |
BOOL | muteAfterMax |
Sets if the sound source must be muted after the max. |
- (void) applySettingsToInstance: | (id) | _instance |
Apply the 3D parameters to the given audio object instance.
instance | A CueInstance or SoundInstance object on which you want to apply these 3D parameters. |
- (int) autoDopplerFactor [read, write, assign] |
The factor used when automatic Doppler is enabled.
Value 0 means that the velocity will always be 0.
- (BOOL) muteAfterMax [read, write, assign] |
Sets if the sound source must be muted after the max.
distance.
- (int) rolloffFactor [read, write, assign] |
The attenuation factor between the min.
distance and the max. distance.