Table of Contents

Struct ModuleFlags

Namespace
SunSharp
Assembly
SunSharp.dll

Represents the flags and properties of a SunVox module.

public readonly struct ModuleFlags

Constructors

ModuleFlags(uint)

public ModuleFlags(uint value)

Parameters

value uint

Properties

Bypass

public bool Bypass { get; }

Property Value

bool

Effect

Whether this module receives sound and outputs sound.

public bool Effect { get; }

Property Value

bool

Exists

public bool Exists { get; }

Property Value

bool

Generator

Whether this module receives notes and outputs sound.

public bool Generator { get; }

Property Value

bool

InputUpperCount

Upper count of inputs connected to this module at this time.

public int InputUpperCount { get; }

Property Value

int

Remarks

The actual input count may be less or equal to this value. Does not inform about a module's maximum input capacity.

Mute

public bool Mute { get; }

Property Value

bool

OutputUpperCount

Upper count of outputs connected to this module at this time.

public int OutputUpperCount { get; }

Property Value

int

Remarks

The actual input count may be less or equal to this value. Does not inform about a module's maximum output capacity.

Solo

public bool Solo { get; }

Property Value

bool

Value

public uint Value { get; }

Property Value

uint

Operators

implicit operator uint(ModuleFlags)

public static implicit operator uint(ModuleFlags flags)

Parameters

flags ModuleFlags

Returns

uint

implicit operator ModuleFlags(uint)

public static implicit operator ModuleFlags(uint value)

Parameters

value uint

Returns

ModuleFlags