Table of Contents

Class ModulationSource

Namespace
PluginUI
Assembly
PluginUI.dll

A modulation source (LFO, envelope, macro, velocity…) that can be dragged onto value controls accepting modulation (AcceptsModulation), as in Serum or Vital.

public sealed record ModulationSource : IEquatable<ModulationSource>
Inheritance
ModulationSource
Implements
Inherited Members

Constructors

ModulationSource(string, Color?, object?)

A modulation source (LFO, envelope, macro, velocity…) that can be dragged onto value controls accepting modulation (AcceptsModulation), as in Serum or Vital.

public ModulationSource(string Name, Color? Color = null, object? Id = null)

Parameters

Name string

Name shown on the drag chip, e.g. "LFO 1".

Color Color?

Color identifying the source on the chip and on the targets (null = theme alternate accent).

Id object

Application identifier of the source (index, enum value…), passed back on drop.

Properties

Color

Color identifying the source on the chip and on the targets (null = theme alternate accent).

public Color? Color { get; init; }

Property Value

Color?

Id

Application identifier of the source (index, enum value…), passed back on drop.

public object? Id { get; init; }

Property Value

object

Name

Name shown on the drag chip, e.g. "LFO 1".

public string Name { get; init; }

Property Value

string