Firelight Technologies FMOD Studio API
Studio::EventInstance::isVirtual
Retrieves the virtualization state of the event instance.
C++ Syntax
FMOD_RESULT Studio::EventInstance::isVirtual(
bool *virtualState
);
C Syntax
FMOD_RESULT FMOD_Studio_EventInstance_IsVirtual(
FMOD_STUDIO_EVENTINSTANCE *eventinstance,
FMOD_BOOL *virtualState
);
C# Syntax
RESULT Studio.EventInstance.isVirtual(
out bool virtualState
);
JavaScript Syntax
EventInstance.isVirtual(
virtualState // writes value to virtualState.val
);
Parameters
- virtualState
- Address of a variable to receive the virtualization state.
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
This can be used to check if an event instance has been virtualized due to the max polyphony being exceeded.
Version 1.10.03 Built on Feb 1, 2018