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
NamestringName shown on the drag chip, e.g. "LFO 1".
ColorColor?Color identifying the source on the chip and on the targets (null = theme alternate accent).
IdobjectApplication 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
Id
Application identifier of the source (index, enum value…), passed back on drop.
public object? Id { get; init; }
Property Value
Name
Name shown on the drag chip, e.g. "LFO 1".
public string Name { get; init; }