Class: FMOD::ChannelControl::FadePoint

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

Overview

Describes a volume point to fade from or towards, using a clock offset and 0.0 to 1.0 volume level.

Instance Attribute Summary collapse

Instance Attribute Details

#clockInteger

DSP clock of the parent channel group to set the fade point volume.

Returns:

  • (Integer)

    the current value of clock



17
18
19
# File 'lib/fmod/channel_control.rb', line 17

def clock
  @clock
end

#volumeFloat

lume level where 0.0 is silent and 1.0 is normal volume. Amplification is supported.

Returns:

  • (Float)

    the current value of volume



17
18
19
# File 'lib/fmod/channel_control.rb', line 17

def volume
  @volume
end