Previous Up Next

as3dSndGetCone
The values of the emission cone parameters.

[I I I] as3dSndGetCone (
S3d _session_
H3d _obj_
)
Parameters

_session_
3D Session.
_obj_
Applicable H3d.
Return value

A tuple [ angleIN angleOUT volumeOUT ], or nil in case of a failure.
  • angleIN: 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.
  • Remark

    By default, a 3D sound is emitted in all directions within a sphere whose center is the emitting point.
    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.
    See Also

    as3dSndSetCone
    asSndSetVolume, asSndGetVolume