DemoGL::Reference::Structures::SSoundChannel3DPosition

SSoundChannel3DPosition

SSoundChannel3DPosition specifies the 3D position, orientation and velocity of a sound channel.

typedef struct
{
	SSoundSystem3DVector	m_ssvPosition;
	SSoundSystem3DVector	m_ssvOrientation;
	SSoundSystem3DVector	m_ssvVelocity;
} SSoundChannel3DPosition;
Members.
m_ssvPosition
Specifies the 3D coordinate in 3D space where the channel is positioned.
m_ssvOrientation
Specifies the orientation of the channel on position m_svvPosition, thus in which direction is the sound heading.
m_ssvVelocity
Specifies the velocity of the sound, not the channel, in the direction m_svvOrientation, concerning the 3D attributes specified with DEMOGL_SoundSystemSetChannel3DAttributes and DEMOGL_SoundSystemSetElement3DAttributes. m_svvVelocity is only needed for doppler calculations, not position calculations of the channel.

Remarks.
Used with DEMOGL_SoundSystemSetChannel3DPosition. Keep in mind the units vs 3D coordinates discussion, so you get the desired sound.

Requirements.
DemoGL v1.3 (build 0112 or higher)

See also.
SSoundSystem3DVector, DEMOGL_SoundSystemSetChannel3DAttributes, DEMOGL_SoundSystemSetElement3DAttributes

Last changed on 20-jan-2001

©1999-2001 Solutions Design