class FMOD::Core::FloatDescription

Structure describing a float parameter for a DSP unit.

Constants

AUTO

A mapping is automatically chosen based on range and units.

LINEAR

Values mapped linearly across range.

PIECEWISE_LINEAR

Values mapped in a piecewise linear fashion.

Public Class Methods

new(address = nil) click to toggle source

@param address [Pointer, Integer, String, nil] The address in memory

where the structure will be created from. If no address is given, new
memory will be allocated.
Calls superclass method
# File lib/fmod/core/float_description.rb, line 24
def initialize(address = nil)
  types = [TYPE_FLOAT, TYPE_FLOAT, TYPE_FLOAT, TYPE_INT]
  members = [:min, :max, :default, :mapping]
  super(address, types, members)
end