Skip to content

Engine → Audio → audio_engine.h

voice_transform

Syntax

struct voice_transform

Variables

AccessNameTypeDefaultDescription
publicpositionmath::vec3math::vec3(0.0f)World-space position of the voice.
publicvelocitymath::vec3math::vec3(0.0f)World-space velocity used by spatial and Doppler calculations.
publicvoicevoice_id{}Voice receiving the transform.