FMOD_VECTOR

FMOD Studio API

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




Version 1.10.03 Built on Feb 1, 2018