Firelight Technologies FMOD Studio API

Studio::EventInstance::set3DAttributes

Sets the 3D position, velocity and orientation for the event instance.

C++ Syntax

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

C Syntax

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

Parameters

attributes
The 3D attributes to set.

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.

Remarks

This function is used to position the event inside the 3D game world. This will update the 3D panner and any automatic Distance or Angle parameters.

See Also




Version 1.03.06 Built on Apr 17, 2014