Studio::EventInstance::get3DAttributes

FMOD Studio API

Firelight Technologies FMOD Studio API

Studio::EventInstance::get3DAttributes

Retrieves the 3D position, velocity and orientation of the event instance.

C++ Syntax

FMOD_RESULT Studio::EventInstance::get3DAttributes(
  FMOD_3D_ATTRIBUTES *attributes
);

C Syntax

FMOD_RESULT FMOD_Studio_EventInstance_Get3DAttributes(
  FMOD_STUDIO_EVENTINSTANCE *eventinstance,
  FMOD_3D_ATTRIBUTES *attributes
);

C# Syntax

RESULT Studio.EventInstance.get3DAttributes(
  out _3D_ATTRIBUTES attributes
);

JavaScript Syntax

EventInstance.get3DAttributes(
  attributes                       // writes value to attributes.val
);

Parameters

attributes
Address of a variable to receive the FMOD_3D_ATTRIBUTES for the event.

Return Values

If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.

See Also




Version 1.10.03 Built on Feb 1, 2018