public RESULT getCueByIndex(int index, out CueInstance instance) { instance = null; IntPtr raw = 0; RESULT rESULT = EventInstance.FMOD_Studio_EventInstance_GetCueByIndex(this.rawPtr, index, out raw); if (rESULT != RESULT.OK) { return rESULT; } instance = new CueInstance(raw); return rESULT; }
public RESULT getCue(string name, out CueInstance instance) { instance = null; IntPtr raw = 0; RESULT rESULT = EventInstance.FMOD_Studio_EventInstance_GetCue(this.rawPtr, Encoding.UTF8.GetBytes(name + '\0'), out raw); if (rESULT != RESULT.OK) { return rESULT; } instance = new CueInstance(raw); return rESULT; }
public RESULT getCueByIndex(int index, out CueInstance instance) { instance = null; IntPtr raw = 0; RESULT rESULT = EventInstance.FMOD_Studio_EventInstance_GetCueByIndex(this.rawPtr, index, out raw); if (rESULT != RESULT.OK) { return(rESULT); } instance = new CueInstance(raw); return(rESULT); }
public RESULT getCue(string name, out CueInstance instance) { instance = null; IntPtr raw = 0; RESULT rESULT = EventInstance.FMOD_Studio_EventInstance_GetCue(this.rawPtr, Encoding.UTF8.GetBytes(name + '\0'), out raw); if (rESULT != RESULT.OK) { return(rESULT); } instance = new CueInstance(raw); return(rESULT); }
public RESULT getCue(string name, out CueInstance instance) { RESULT result = RESULT.OK; IntPtr cueinstanceraw = new IntPtr(); instance = null; try { result = FMOD_Studio_EventInstance_GetCue(rawPtr, Encoding.UTF8.GetBytes(name + Char.MinValue), out cueinstanceraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return(result); } instance = new CueInstance(); instance.setRaw(cueinstanceraw); return(result); }
public RESULT getCueByIndex(int index, out CueInstance instance) { instance = null; IntPtr newPtr = new IntPtr(); RESULT result = FMOD_Studio_EventInstance_GetCueByIndex(rawPtr, index, out newPtr); if (result != RESULT.OK) { return result; } instance = new CueInstance(newPtr); return result; }
public RESULT getCue(string name, out CueInstance instance) { instance = null; IntPtr newPtr = new IntPtr(); RESULT result = FMOD_Studio_EventInstance_GetCue(rawPtr, Encoding.UTF8.GetBytes(name + Char.MinValue), out newPtr); if (result != RESULT.OK) { return result; } instance = new CueInstance(newPtr); return result; }
protected override bool isValidInternal() { return(CueInstance.FMOD_Studio_CueInstance_IsValid(this.rawPtr)); }
public RESULT trigger() { return(CueInstance.FMOD_Studio_CueInstance_Trigger(this.rawPtr)); }