QtCraft API C++ classes QML types Handbook

QcSoundSpatial::Placement Struct

struct QcSoundSpatial::Placement

How a sound is heard. More...

Public Variables

double distance
float gain
float pan

Detailed Description

Member Variable Documentation

double Placement::distance

Distance from the listener in metres.

float Placement::gain

Loudness (0..1) from distance and rear damping.

float Placement::pan

Stereo position: -panWidth left .. panWidth right.