Firelight Technologies FMOD Studio API
Studio::EventInstance::setTimelinePosition
Sets the position of the event instance's timeline playback cursor.
C++ Syntax
FMOD_RESULT Studio::EventInstance::setTimelinePosition(
int position
);
C Syntax
FMOD_RESULT FMOD_Studio_EventInstance_SetTimelinePosition(
FMOD_STUDIO_EVENTINSTANCE *eventinstance,
int position
);
C# Syntax
RESULT Studio.EventInstance.setTimelinePosition(
int position
);
JavaScript Syntax
EventInstance.setTimelinePosition(
position
);
Parameters
- position
- Desired 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.
Remarks
You can use this function to seek the timeline.
Version 1.10.03 Built on Feb 1, 2018