Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetDirectionalAttenuation
Syntax
C++
int SetDirectionalAttenuation(IFunctionHandler * pH);
Parameters 
Description 
vPos 
Position vector. 
vDir 
Direction vector for the attenuation. 
fConeInRadians 
Angle of the cone that represents the attenuation. 

Syntax: Sound.SetDirectionalAttenuation( vPos, vDir, fConeInRadians ) 

Sets a directional attenuation of the sounds. 

 

Copyright (c) 2012. All rights reserved.