com.vwp.vuapi.objects
Class VUPointSoundObjectInfo
java.lang.Object
com.vwp.vuapi.util.VUInfo
com.vwp.vuapi.objects.VUObjectInfo
com.vwp.vuapi.objects.VUPointSoundObjectInfo
public class VUPointSoundObjectInfo
- extends VUObjectInfo
Using this class npoint sound objects can be handled
| Fields inherited from class com.vwp.vuapi.util.VUInfo |
ID, name |
|
Constructor Summary |
VUPointSoundObjectInfo(String FileURL,
int attenuationFlag,
int loops,
double diameter,
double volume,
double x,
double y,
double z)
This is the constructor that has to be used for creating a new
VUPointSoundObjectInfo object that can be used to set a new
point sound object within aworld. |
VUPointSoundObjectInfo(String FileURL,
long ID,
long previousID,
int attenuationFlag,
int loops,
double diameter,
double volume,
double x,
double y,
double z)
|
| Methods inherited from class com.vwp.vuapi.util.VUInfo |
set |
diameter
public double diameter
VU_OBJECT_SOUND_ATTENUATION_LINEAR
public static final int VU_OBJECT_SOUND_ATTENUATION_LINEAR
- sound attenuation flag: attenuate linearly
- See Also:
- Constant Field Values
VU_OBJECT_SOUND_ATTENUATION_LOG
public static final int VU_OBJECT_SOUND_ATTENUATION_LOG
- sound attenuation flag: attenuate logarithmic
- See Also:
- Constant Field Values
VU_OBJECT_SOUND_ATTENUATION_SHARP
public static final int VU_OBJECT_SOUND_ATTENUATION_SHARP
- sound attenuation flag: turn of the sound beyond the diameter sharply
- See Also:
- Constant Field Values
loops
public int loops
volume
public double volume
attenuationFlag
public int attenuationFlag
VUPointSoundObjectInfo
public VUPointSoundObjectInfo(String FileURL,
long ID,
long previousID,
int attenuationFlag,
int loops,
double diameter,
double volume,
double x,
double y,
double z)
VUPointSoundObjectInfo
public VUPointSoundObjectInfo(String FileURL,
int attenuationFlag,
int loops,
double diameter,
double volume,
double x,
double y,
double z)
- This is the constructor that has to be used for creating a new
VUPointSoundObjectInfo object that can be used to set a new
point sound object within aworld.
- Parameters:
FileURL - the URL of the soundfileattenuationFlag - with this flag the attenuation behavior
can be defined using one of the VU_OBJECT_SOUND_ATTENUATION_-constantsloops - the number of repeat cycles for the sound, set this
value to -1 for infinite loopingdiameter - the diameter of the area around the objects center
where the sound can be heard withinvolume - the volume of the soundx - the x coordinate of the sound sources centery - the y coordinate of the sound sources centerz - the z coordinate of the sound sources center
set
public void set(VUPointSoundObjectInfo oi)