Studio::EventInstance::getTimelinePosition

FMOD Studio API

Firelight Technologies FMOD Studio API

Studio::EventInstance::getTimelinePosition

Retrieves the position of the event instance's timeline playback cursor.

C++ Syntax

FMOD_RESULT Studio::EventInstance::getTimelinePosition(
  int *position
);

C Syntax

FMOD_RESULT FMOD_Studio_EventInstance_GetTimelinePosition(
  FMOD_STUDIO_EVENTINSTANCE *eventinstance,
  int *position
);

C# Syntax

RESULT Studio.EventInstance.getTimelinePosition(
  out int position
);

JavaScript Syntax

EventInstance.getTimelinePosition(
  position                         // writes value to position.val
);

Parameters

position
Address of a variable to receive the timeline position in milliseconds.

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.




Version 1.10.03 Built on Feb 1, 2018