Studio::EventDescription::getLength

FMOD Studio API

Firelight Technologies FMOD Studio API

Studio::EventDescription::getLength

Retrieves the length of the event's timeline.

C++ Syntax

FMOD_RESULT Studio::EventDescription::getLength(
  int *length
);

C Syntax

FMOD_RESULT FMOD_Studio_EventDescription_GetLength(
  FMOD_STUDIO_EVENTDESCRIPTION *eventdescription,
  int *length
);

C# Syntax

RESULT Studio.EventDescription.getLength(
  out int length
);

JavaScript Syntax

EventDescription.getLength(
  length                           // writes value to length.val
);

Parameters

length
Address of a variable to receive the timeline length 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.

See Also




Version 1.10.03 Built on Feb 1, 2018