Skip to content

Voicemeeter.Enum

A class containing helper methods for integral enumerations used by the Voicemeeter Remote SDK.

Static Methods

IsDefined

Determines whether a given integral value, or its name as a string, exists in the enumeration.

Syntax

IsDefined := SomeEnum.IsDefined(Value)

Parameters

Value: Integer | String

The value or name of a constant in the enumeration.

Returns: Integer

1 (true) if Value is defined in the enumeration, otherwise 0 (false).

__Enum

Enumerates values of the enumeration. This method is typically not called directly. Instead, the enumeration is passed directly to a for-loop.

Syntax

for Value in SomeEnum
for Name, Value in SomeEnum

Parameters

NumberOfVars: Integer

The number of variables passed to the calling for-loop.

Returns: Enumerator

A new enumerator.