Mema
Memory Matrix — multi-channel audio matrix monitor and router
Loading...
Searching...
No Matches
Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition Struct Reference

Position data for a single source handle in the 2-D field. More...

#include <TwoDFieldMultisliderComponent.h>

+ Collaboration diagram for Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition:

Public Member Functions

 TwoDMultisliderSourcePosition ()=default
 
 TwoDMultisliderSourcePosition (ChannelLayer l, TwoDMultisliderValue v, float s, bool iS, bool iO)
 

Public Attributes

ChannelLayer layer = ChannelLayer::Positioned
 Height layer index (0 = ground, 1 = elevated).
 
TwoDMultisliderValue value = { 0.0f, 0.0f }
 x/y position in the 2-D field.
 
float sharpness = 0.4f
 Panning sharpness / width [0, 1].
 
bool isSliding = false
 True while the user is dragging this handle.
 
bool isOn = true
 Whether this input source is active.
 

Detailed Description

Position data for a single source handle in the 2-D field.

Definition at line 52 of file TwoDFieldMultisliderComponent.h.

Constructor & Destructor Documentation

◆ TwoDMultisliderSourcePosition() [1/2]

Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition::TwoDMultisliderSourcePosition ( )
default

◆ TwoDMultisliderSourcePosition() [2/2]

Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition::TwoDMultisliderSourcePosition ( ChannelLayer  l,
TwoDMultisliderValue  v,
float  s,
bool  iS,
bool  iO 
)
inline

Definition at line 55 of file TwoDFieldMultisliderComponent.h.

References isOn, isSliding, layer, sharpness, and value.

Member Data Documentation

◆ isOn

bool Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition::isOn = true

Whether this input source is active.

Definition at line 61 of file TwoDFieldMultisliderComponent.h.

Referenced by TwoDMultisliderSourcePosition().

◆ isSliding

bool Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition::isSliding = false

True while the user is dragging this handle.

Definition at line 60 of file TwoDFieldMultisliderComponent.h.

Referenced by TwoDMultisliderSourcePosition().

◆ layer

ChannelLayer Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition::layer = ChannelLayer::Positioned

Height layer index (0 = ground, 1 = elevated).

Definition at line 57 of file TwoDFieldMultisliderComponent.h.

Referenced by TwoDMultisliderSourcePosition().

◆ sharpness

float Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition::sharpness = 0.4f

Panning sharpness / width [0, 1].

Definition at line 59 of file TwoDFieldMultisliderComponent.h.

Referenced by TwoDMultisliderSourcePosition().

◆ value

TwoDMultisliderValue Mema::TwoDFieldMultisliderComponent::TwoDMultisliderSourcePosition::value = { 0.0f, 0.0f }

x/y position in the 2-D field.

Definition at line 58 of file TwoDFieldMultisliderComponent.h.

Referenced by TwoDMultisliderSourcePosition().


The documentation for this struct was generated from the following file: