Trait jumpy::prelude::kira::modulator::ModulatorBuilder

pub trait ModulatorBuilder {
    type Handle;

    // Required method
    fn build(self, id: ModulatorId) -> (Box<dyn Modulator>, Self::Handle);
}
Expand description

Configures a modulator.

Required Associated Types§

type Handle

Allows the user to control the modulator from gameplay code.

Required Methods§

fn build(self, id: ModulatorId) -> (Box<dyn Modulator>, Self::Handle)

Creates the modulator and a handle to the modulator.

Implementors§