Class: FMOD::System::Speaker
- Inherits:
-
Struct
- Object
- Struct
- FMOD::System::Speaker
- Defined in:
- lib/fmod/system.rb
Overview
Represents a logical position of a speaker.
Instance Attribute Summary collapse
-
#active ⇒ Boolean
true
if speaker will be enabled, otherwisefalse
. -
#index ⇒ Integer
The index of the speaker.
-
#x ⇒ Float
The x-coordinate of the speaker.
-
#y ⇒ Float
The y-coordinate of the speaker.
Instance Attribute Details
#active ⇒ Boolean
true
if speaker will be enabled, otherwise false
.
53 54 55 |
# File 'lib/fmod/system.rb', line 53 def active @active end |
#index ⇒ Integer
The index of the speaker.
53 54 55 |
# File 'lib/fmod/system.rb', line 53 def index @index end |
#x ⇒ Float
The x-coordinate of the speaker.
53 54 55 |
# File 'lib/fmod/system.rb', line 53 def x @x end |
#y ⇒ Float
The y-coordinate of the speaker.
53 54 55 |
# File 'lib/fmod/system.rb', line 53 def y @y end |