Firelight Technologies FMOD Studio API
FMOD_3D_ATTRIBUTES
Structure describing a position, velocity and orientation.
C/C++ Syntax
typedef struct {
FMOD_VECTOR position;
FMOD_VECTOR velocity;
FMOD_VECTOR forward;
FMOD_VECTOR up;
} FMOD_3D_ATTRIBUTES;
Members
position
The position of the object in world space, measured in distance units.
velocity
The velocity of the object measured in distance units **per second**.
forward
The forwards orientation of the object. This vector must be of unit length (1.0) and perpendicular to the up vector.
up
The upwards orientation of the object. This vector must be of unit length (1.0) and perpendicular to the forward vector.
Remarks
Attributes should use your chosen coordinate system, see 3D sounds for more information.
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._3D_ATTRIBUTES()", no 'new' keyword is required.
See Also
Version 1.10.03 Built on Feb 1, 2018