| java.lang.Object com.sun.j3d.audioengines.Sample com.sun.j3d.audioengines.javasound.JSSample com.sun.j3d.audioengines.javasound.JSPositionalSample com.sun.j3d.audioengines.javasound.JSDirectionalSample
JSDirectionalSample | class JSDirectionalSample extends JSPositionalSample (Code) | | The PostionalSample Class defines the data and methods associated with a
PointSound sample played through the AudioDevice.
|
Method Summary | |
float | calculateAngularGain() CalculateAngularGain
Simply calls generic (for PointSound) 'findFactor()' with
a single set of angular attenuation distance and gain scalefactor arrays. | float | calculateDistanceAttenuation(float distance) CalculateDistanceAttenuation
Simply calls ConeSound specific 'findFactor()' with
both front and back attenuation linear distance and gain scale factor
arrays. | void | calculateFilter(float distance, AuralParameters attribs) | float | findAngularOffset() | float | findFactor(double distanceToHead, double[] maxDistanceArray, float[] maxFactorArray, double[] minDistanceArray, float[] minFactorArray) | double | intersectEllipse(double max, double min) | void | setXformedDirection() |
xformDirection | Vector3f xformDirection(Code) | | |
JSDirectionalSample | public JSDirectionalSample()(Code) | | |
calculateAngularGain | float calculateAngularGain()(Code) | | CalculateAngularGain
Simply calls generic (for PointSound) 'findFactor()' with
a single set of angular attenuation distance and gain scalefactor arrays.
|
calculateDistanceAttenuation | float calculateDistanceAttenuation(float distance)(Code) | | CalculateDistanceAttenuation
Simply calls ConeSound specific 'findFactor()' with
both front and back attenuation linear distance and gain scale factor
arrays.
|
findAngularOffset | float findAngularOffset()(Code) | | |
findFactor | float findFactor(double distanceToHead, double[] maxDistanceArray, float[] maxFactorArray, double[] minDistanceArray, float[] minFactorArray)(Code) | | |
intersectEllipse | double intersectEllipse(double max, double min)(Code) | | |
setXformedDirection | void setXformedDirection()(Code) | | |
|
|