Struct ConnectionSource
- Namespace
- SpessaSharp.SoundBank.DLS
- Assembly
- SpessaSharp.dll
public readonly record struct ConnectionSource : IEquatable<ConnectionSource>
- Implements
- Inherited Members
Constructors
ConnectionSource(DLSSource, Type, bool, bool)
public ConnectionSource(ConnectionSource.DLSSource Source, ModulatorCurve.Type Transform, bool Bipolar, bool Invert)
Parameters
SourceConnectionSource.DLSSourceTransformModulatorCurve.TypeBipolarboolInvertbool
Fields
Default
public static readonly ConnectionSource Default
Field Value
Properties
Bipolar
public bool Bipolar { get; init; }
Property Value
Invert
public bool Invert { get; init; }
Property Value
Source
public ConnectionSource.DLSSource Source { get; init; }
Property Value
Transform
public ModulatorCurve.Type Transform { get; init; }
Property Value
TransformFlag
public int TransformFlag { get; }
Property Value
Methods
FromSFSource(Source)
public static ConnectionSource? FromSFSource(Modulator.Source source)
Parameters
Returns
ToSFSource()
public Modulator.Source? ToSFSource()
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.