PortConnection struct

A connection between two ports.

Contents

Public variables

float multiplier
Multiplier to apply, where applicable.
bool locked
Whether the connection can be removed or the multiplier edited by the user.
bool enabled
Whether the connection is enabled.
float base_value
Used for CV -> control port connections.

Variable documentation

float PortConnection::multiplier

Multiplier to apply, where applicable.

Range: 0 to 1. Default: 1.

bool PortConnection::locked

Whether the connection can be removed or the multiplier edited by the user.

Ignored when connecting things internally and only used to deter the user from breaking necessary connections.

bool PortConnection::enabled

Whether the connection is enabled.