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