Class: FMOD::Core::ConeSettings
- Inherits:
-
Struct
- Object
- Struct
- FMOD::Core::ConeSettings
- Defined in:
- lib/fmod/core/structures.rb
Overview
Defines the sound projection cone including the volume when outside the cone.
Instance Attribute Summary collapse
-
#inside_angle ⇒ Float
Inside cone angle, in degrees.
-
#outside_angle ⇒ Float
Outside cone angle, in degrees.
-
#outside_volume ⇒ Float
Cone outside volume.
Instance Attribute Details
#inside_angle ⇒ Float
Inside cone angle, in degrees. This is the angle within which the sound is at its normal volume.
Must not be greater than #outside_angle.
-
Default: 360.0
40 41 42 |
# File 'lib/fmod/core/structures.rb', line 40 def inside_angle @inside_angle end |
#outside_angle ⇒ Float
Outside cone angle, in degrees. This is the angle outside of which the sound is at its outside volume.
Must not be less than #inside_angle.
-
Default: 360.0
40 41 42 |
# File 'lib/fmod/core/structures.rb', line 40 def outside_angle @outside_angle end |
#outside_volume ⇒ Float
Cone outside volume.
-
Minimum: 0.0
-
Maximum: 1.0
-
Default: 1.0
40 41 42 |
# File 'lib/fmod/core/structures.rb', line 40 def outside_volume @outside_volume end |