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

Source ConnectionSource.DLSSource
Transform ModulatorCurve.Type
Bipolar bool
Invert bool

Fields

Default

public static readonly ConnectionSource Default

Field Value

ConnectionSource

Properties

Bipolar

public bool Bipolar { get; init; }

Property Value

bool

Invert

public bool Invert { get; init; }

Property Value

bool

Source

public ConnectionSource.DLSSource Source { get; init; }

Property Value

ConnectionSource.DLSSource

Transform

public ModulatorCurve.Type Transform { get; init; }

Property Value

ModulatorCurve.Type

TransformFlag

public int TransformFlag { get; }

Property Value

int

Methods

FromSFSource(Source)

public static ConnectionSource? FromSFSource(Modulator.Source source)

Parameters

source Modulator.Source

Returns

ConnectionSource?

ToSFSource()

public Modulator.Source? ToSFSource()

Returns

Modulator.Source?

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.