Firelight Technologies FMOD Studio API
Studio::EventDescription::getInstanceCount
Retrieves the number of created instances for this event type.
C++ Syntax
FMOD_RESULT Studio::EventDescription::getInstanceCount(
int *count
);
C Syntax
FMOD_RESULT FMOD_Studio_EventDescription_GetInstanceCount(
FMOD_STUDIO_EVENTDESCRIPTION *eventdescription,
int *count
);
C# Syntax
RESULT Studio.EventDescription.getInstanceCount(
out int count
);
JavaScript Syntax
EventDescription.getInstanceCount(
count // writes value to count.val
);
Parameters
- count
- Address of a variable to receive the number of created instances.
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
Used in conjunction with Studio::EventDescription::getInstanceList to track the playing instances of this event.
See Also
Version 1.10.03 Built on Feb 1, 2018