Struct ChannelSystemParameter

Namespace
SpessaSharp.Synthesizer.Engine.Channel.Parameters
Assembly
SpessaSharp.dll

The system parameters of the channel.

public readonly record struct ChannelSystemParameter : IEquatable<ChannelSystemParameter>
Implements
Inherited Members

Fields

PType

public readonly ChannelSystemParameter.Type PType

Field Value

ChannelSystemParameter.Type

Properties

AsBool

public bool AsBool { get; }

Property Value

bool

AsFloat

public float AsFloat { get; }

Property Value

float

AsInt

public int AsInt { get; }

Property Value

int

AsOptBool

public bool? AsOptBool { get; }

Property Value

bool?

AsOptInterpolationType

public Synthesizer.InterpolationType? AsOptInterpolationType { get; }

Property Value

Synthesizer.InterpolationType?

Methods

Of(Type, bool)

public static ChannelSystemParameter Of(ChannelSystemParameter.Type type, bool value)

Parameters

type ChannelSystemParameter.Type
value bool

Returns

ChannelSystemParameter

Of(Type, int)

public static ChannelSystemParameter Of(ChannelSystemParameter.Type type, int value)

Parameters

type ChannelSystemParameter.Type
value int

Returns

ChannelSystemParameter

Of(Type, float)

public static ChannelSystemParameter Of(ChannelSystemParameter.Type type, float value)

Parameters

type ChannelSystemParameter.Type
value float

Returns

ChannelSystemParameter

Of(InterpolationType)

public static ChannelSystemParameter Of(Synthesizer.InterpolationType type)

Parameters

type Synthesizer.InterpolationType

Returns

ChannelSystemParameter

OfNull(Type)

public static ChannelSystemParameter OfNull(ChannelSystemParameter.Type type)

Parameters

type ChannelSystemParameter.Type

Returns

ChannelSystemParameter

OfOpt(Type, bool)

public static ChannelSystemParameter OfOpt(ChannelSystemParameter.Type type, bool value)

Parameters

type ChannelSystemParameter.Type
value bool

Returns

ChannelSystemParameter

Operators

implicit operator ChannelSystemParameter(InterpolationType)

public static implicit operator ChannelSystemParameter(Synthesizer.InterpolationType param)

Parameters

param Synthesizer.InterpolationType

Returns

ChannelSystemParameter

implicit operator ChannelSystemParameter((Type type, bool value))

public static implicit operator ChannelSystemParameter((ChannelSystemParameter.Type type, bool value) param)

Parameters

param (ChannelSystemParameter.Type type, bool value)

Returns

ChannelSystemParameter

implicit operator ChannelSystemParameter((Type type, int value))

public static implicit operator ChannelSystemParameter((ChannelSystemParameter.Type type, int value) param)

Parameters

param (ChannelSystemParameter.Type type, int value)

Returns

ChannelSystemParameter

implicit operator ChannelSystemParameter((Type type, float value))

public static implicit operator ChannelSystemParameter((ChannelSystemParameter.Type type, float value) param)

Parameters

param (ChannelSystemParameter.Type type, float value)

Returns

ChannelSystemParameter