Previous Up Next

as3dSndSetCone
Modifies the values of the emission cone parameters.

H3d as3dSndSetCone (
S3d _session_
H3d _obj_
[I I] _angles_
I _volume_
)
Parameters

_session_
3D Session.
_obj_
Applicable H3d.
_angles_
Tuple of angles: [ angleIN angleOUT ]:
  • angleIN: Angle of interior cone in degrees, 360 by default.
  • angleOUT: Angle of exterior cone in degrees, 360 by default.
  • _volume_
    Volume exterior to the interior cone between 0 and 100, 0 by default.
    Return value

    The H3d given as a parameter, or nil in case of a failure.
    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. We will then have the volume of the AsSnd in 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

    as3dSndGetCone