Class: FMOD::System::Speaker

Inherits:
Struct
  • Object
show all
Defined in:
lib/fmod/system.rb

Overview

Represents a logical position of a speaker.

Instance Attribute Summary collapse

Instance Attribute Details

#activeBoolean

true if speaker will be enabled, otherwise false.

Returns:

  • (Boolean)

    the current value of active



53
54
55
# File 'lib/fmod/system.rb', line 53

def active
  @active
end

#indexInteger

The index of the speaker.

Returns:

  • (Integer)

    the current value of index



53
54
55
# File 'lib/fmod/system.rb', line 53

def index
  @index
end

#xFloat

The x-coordinate of the speaker.

Returns:

  • (Float)

    the current value of x



53
54
55
# File 'lib/fmod/system.rb', line 53

def x
  @x
end

#yFloat

The y-coordinate of the speaker.

Returns:

  • (Float)

    the current value of y



53
54
55
# File 'lib/fmod/system.rb', line 53

def y
  @y
end