| Miles Sound System SDK 7.2a |
The function AIL_set_sample_3D_cone sets the sound emission cone on a sample.
void AIL_set_sample_3D_cone( HSAMPLE S, F32 inner_angle, F32 outer_angle, F32 outer_volume ); |
By default, every sound is omni-directional - the inner and outer angles are 360 degrees and the outer volume is 1.0.
The inner angle should always be smaller than the outer angle.
Example files that use this function: examms.cpp
Group:
Digital Audio Services
Related Functions:
AIL_calculate_3D_channel_levels, AIL_sample_3D_cone, AIL_set_sample_3D_distances, AIL_set_sample_3D_position
Related Basic Types:
F32, HSAMPLE, void
Related FAQs:
How do I use multi-channel sound output in Miles?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.