Firelight Technologies FMOD Studio API
Studio::CommandReplay::getLength
Retrieves the total playback time of the command replay.
C++ Syntax
FMOD_RESULT Studio::CommandReplay::getLength(
float *totalTime
);
C Syntax
FMOD_RESULT FMOD_Studio_CommandReplay_GetLength(
FMOD_STUDIO_COMMANDREPLAY *commandreplay,
float *totalTime
);
C# Syntax
RESULT Studio.CommandReplay.getLength(
out float totalTime
);
JavaScript Syntax
CommandReplay.getLength(
length // writes value to length.val
);
Parameters
- totalTime
- Address of the variable to receive the total time.
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