Firelight Technologies FMOD Studio API
FMOD_VECTOR
Structure describing a point in 3D space.
C/C++ Syntax
typedef struct {
float x;
float y;
float z;
} FMOD_VECTOR;
JavaScript Syntax
struct FMOD_VECTOR
{
x,
y,
z,
};
Members
x
X coordinate in 3D space.
y
Y coordinate in 3D space.
z
Z coordinate in 3D space.
Remarks
FMOD uses a left handed coordinate system by default.
To use a right handed coordinate system specify FMOD_INIT_3D_RIGHTHANDED from FMOD_INITFLAGS in System::init.
JavaScript only :
Not all fields are currently supported or may not work as expected at this time. To initialize an new instance in javascript use "FMOD.VECTOR()", no 'new' keyword is required.
See Also
- System::set3DListenerAttributes
- System::get3DListenerAttributes
- Channel::set3DAttributes
- Channel::get3DAttributes
- Channel::set3DCustomRolloff
- Channel::get3DCustomRolloff
- Sound::set3DCustomRolloff
- Sound::get3DCustomRolloff
- Geometry::addPolygon
- Geometry::setPolygonVertex
- Geometry::getPolygonVertex
- Geometry::setRotation
- Geometry::getRotation
- Geometry::setPosition
- Geometry::getPosition
- Geometry::setScale
- Geometry::getScale
- FMOD_INITFLAGS
Version 1.10.03 Built on Feb 1, 2018