Previous | Up | Next |
The values of the emission cone parameters.Parameters
[I I I] as3dSndGetCone ( S3d _session_ H3d _obj_ )
Return value
_session_ 3D Session. _obj_ Applicable H3d.
A tuple [ angleIN angleOUT volumeOUT ], or nil in case of a failure.RemarkangleIN: Angle of interior cone in degrees, 360 by default. angleOUT: Angle of exterior cone in degrees, 360 by default. volumeOUT: Volume exterior to the interior cone between 0 and 100, 0 by default.
By default, a 3D sound is emitted in all directions within a sphere whose center is the emitting point.See Also
This emission can be reduced to a cone. Two cones are used, one inside another. Both the interior and exterior cones have a apex angle in degrees of angleIN and angleOUT respectively. The volume of the AsSnd is that of the interior cone. The volumeOUT volume is exterior to the exterior cone. Between the two cones, the volume will automatically be calculated to perform the transition.
as3dSndSetCone
asSndSetVolume, asSndGetVolume