public static uint DynamicSequenceOpen(ComponentBind.Entity in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = (uint)in_gameObjectID.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } in_pCookie = new AkCallbackManager.EventCallbackPackage(in_pfnCallback, in_pCookie); { uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_1(tempin_gameObjectID, in_uFlags, (IntPtr)0, (IntPtr)in_pCookie.GetHashCode()); return ret; } }
public static AKRESULT SetRTPCValue(uint in_rtpcID, float in_value, ComponentBind.Entity in_gameObjectID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = (uint)in_gameObjectID.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_2(in_rtpcID, in_value, tempin_gameObjectID); return ret; } }
public static AKRESULT GetPosition(ComponentBind.Entity in_GameObjectID, AkSoundPosition out_rPosition) { uint tempin_GameObjectID; if ( in_GameObjectID != null ) { tempin_GameObjectID = getGameObjectID(in_GameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjectID.Get<AkGameObject>() == null) { in_GameObjectID.Add(new AkGameObject()); } } else { tempin_GameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPosition(tempin_GameObjectID, AkSoundPosition.getCPtr(out_rPosition)); return ret; } }
public static AKRESULT GetObjectObstructionAndOcclusion(ComponentBind.Entity in_ObjectID, uint in_uListener, out float out_rfObstructionLevel, out float out_rfOcclusionLevel) { uint tempin_ObjectID; if ( in_ObjectID != null ) { tempin_ObjectID = getGameObjectID(in_ObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_ObjectID.Get<AkGameObject>() == null) { in_ObjectID.Add(new AkGameObject()); } } else { tempin_ObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetObjectObstructionAndOcclusion(tempin_ObjectID, in_uListener, out out_rfObstructionLevel, out out_rfOcclusionLevel); return ret; } }
public static AKRESULT GetGameObjectAuxSendValues(ComponentBind.Entity in_gameObjectID, AkAuxSendArray out_paAuxSendValues, ref uint io_ruNumSendValues) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetGameObjectAuxSendValues(tempin_gameObjectID, out_paAuxSendValues.m_Buffer, ref io_ruNumSendValues); return ret; } }
public static AKRESULT ExecuteActionOnEvent(uint in_eventID, AkActionOnEventType in_ActionType, ComponentBind.Entity in_gameObjectID, int in_uTransitionDuration, AkCurveInterpolation in_eFadeCurve, uint in_PlayingID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_0(in_eventID, (int)in_ActionType, tempin_gameObjectID, in_uTransitionDuration, (int)in_eFadeCurve, in_PlayingID); return ret; } }
public static void StopAll(ComponentBind.Entity in_gameObjectID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AkSoundEnginePINVOKE.CSharp_StopAll__SWIG_0(tempin_gameObjectID); } }
public static AKRESULT SetRTPCValue(string in_pszRtpcName, float in_value, ComponentBind.Entity in_gameObjectID, int in_uValueChangeDuration) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetRTPCValue__SWIG_5(in_pszRtpcName, in_value, tempin_gameObjectID, in_uValueChangeDuration); return ret; } }
public static uint PostEvent(string in_pszEventName, ComponentBind.Entity in_gameObjectID, uint in_uFlags, AkCallbackManager.EventCallback in_pfnCallback, object in_pCookie, uint in_cExternals) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } in_pCookie = new AkCallbackManager.EventCallbackPackage(in_pfnCallback, in_pCookie); { uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_8(in_pszEventName, tempin_gameObjectID, in_uFlags, (IntPtr)0, (IntPtr)in_pCookie.GetHashCode(), in_cExternals); return ret; } }
public static bool GetIsGameObjectActive(ComponentBind.Entity in_GameObjId) { uint tempin_GameObjId; if ( in_GameObjId != null ) { tempin_GameObjId = (uint)in_GameObjId.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjId.Get<AkGameObject>() == null) { in_GameObjId.Add(new AkGameObject()); } } else { tempin_GameObjId = unchecked((uint)-1); } { bool ret = AkSoundEnginePINVOKE.CSharp_GetIsGameObjectActive(tempin_GameObjId); return ret; } }
public static uint PostEvent(uint in_eventID, ComponentBind.Entity in_gameObjectID, uint in_uFlags) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = (uint)in_gameObjectID.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_4(in_eventID, tempin_gameObjectID, in_uFlags); return ret; } }
public static AKRESULT GetGameObjectDryLevelValue(ComponentBind.Entity in_gameObjectID, out float out_rfControlValue) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = (uint)in_gameObjectID.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetGameObjectDryLevelValue(tempin_gameObjectID, out out_rfControlValue); return ret; } }
public static AKRESULT GetSwitch(string in_pstrSwitchGroupName, ComponentBind.Entity in_GameObj, out uint out_rSwitchState) { uint tempin_GameObj; if ( in_GameObj != null ) { tempin_GameObj = (uint)in_GameObj.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObj.Get<AkGameObject>() == null) { in_GameObj.Add(new AkGameObject()); } } else { tempin_GameObj = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetSwitch__SWIG_1(in_pstrSwitchGroupName, tempin_GameObj, out out_rSwitchState); return ret; } }
public static AKRESULT PostTrigger(string in_pszTrigger, ComponentBind.Entity in_gameObjectID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = (uint)in_gameObjectID.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_PostTrigger__SWIG_1(in_pszTrigger, tempin_gameObjectID); return ret; } }
public static AKRESULT SetMultiplePositions(ComponentBind.Entity in_GameObjectID, AkPositionArray in_pPositions, ushort in_NumPositions) { uint tempin_GameObjectID; if ( in_GameObjectID != null ) { tempin_GameObjectID = getGameObjectID(in_GameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjectID.Get<AkGameObject>() == null) { in_GameObjectID.Add(new AkGameObject()); } } else { tempin_GameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetMultiplePositions__SWIG_1(tempin_GameObjectID, in_pPositions.m_Buffer, in_NumPositions); return ret; } }
public static uint PostEvent(string in_pszEventName, ComponentBind.Entity in_gameObjectID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { uint ret = AkSoundEnginePINVOKE.CSharp_PostEvent__SWIG_11(in_pszEventName, tempin_gameObjectID); return ret; } }
public static AKRESULT SetObjectPosition(ComponentBind.Entity in_GameObjectID, float PosX, float PosY, float PosZ, float OrientationX, float OrientationY, float OrientationZ) { uint tempin_GameObjectID; if ( in_GameObjectID != null ) { tempin_GameObjectID = getGameObjectID(in_GameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjectID.Get<AkGameObject>() == null) { in_GameObjectID.Add(new AkGameObject()); } } else { tempin_GameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetObjectPosition(tempin_GameObjectID, PosX, PosY, PosZ, OrientationX, OrientationY, OrientationZ); return ret; } }
public static AKRESULT RegisterGameObj(ComponentBind.Entity in_gameObjectID, string in_pszObjName) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_RegisterGameObj__SWIG_3(tempin_gameObjectID, in_pszObjName); return ret; } }
public static AKRESULT SetSwitch(string in_pszSwitchGroup, string in_pszSwitchState, ComponentBind.Entity in_gameObjectID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetSwitch__SWIG_1(in_pszSwitchGroup, in_pszSwitchState, tempin_gameObjectID); return ret; } }
public static AKRESULT ResetRTPCValue(uint in_rtpcID, ComponentBind.Entity in_gameObjectID, int in_uValueChangeDuration, AkCurveInterpolation in_eFadeCurve) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_ResetRTPCValue__SWIG_0(in_rtpcID, tempin_gameObjectID, in_uValueChangeDuration, (int)in_eFadeCurve); return ret; } }
public static uint DynamicSequenceOpen(ComponentBind.Entity in_gameObjectID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { uint ret = AkSoundEnginePINVOKE.CSharp_DynamicSequenceOpen__SWIG_3(tempin_gameObjectID); return ret; } }
public static AKRESULT SeekOnEvent(uint in_eventID, ComponentBind.Entity in_gameObjectID, int in_iPosition) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_1(in_eventID, tempin_gameObjectID, in_iPosition); return ret; } }
public static AKRESULT ExecuteActionOnEvent(string in_pszEventName, AkActionOnEventType in_ActionType, ComponentBind.Entity in_gameObjectID) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_ExecuteActionOnEvent__SWIG_8(in_pszEventName, (int)in_ActionType, tempin_gameObjectID); return ret; } }
public static AKRESULT SeekOnEvent(string in_pszEventName, ComponentBind.Entity in_gameObjectID, float in_fPercent, bool in_bSeekToNearestMarker) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SeekOnEvent__SWIG_8(in_pszEventName, tempin_gameObjectID, in_fPercent, in_bSeekToNearestMarker); return ret; } }
public static float GetMaxRadius(ComponentBind.Entity in_GameObjId) { uint tempin_GameObjId; if ( in_GameObjId != null ) { tempin_GameObjId = getGameObjectID(in_GameObjId); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjId.Get<AkGameObject>() == null) { in_GameObjId.Add(new AkGameObject()); } } else { tempin_GameObjId = unchecked((uint)-1); } { float ret = AkSoundEnginePINVOKE.CSharp_GetMaxRadius(tempin_GameObjId); return ret; } }
public static AKRESULT SetActiveListeners(ComponentBind.Entity in_GameObjectID, uint in_uListenerMask) { uint tempin_GameObjectID; if ( in_GameObjectID != null ) { tempin_GameObjectID = getGameObjectID(in_GameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjectID.Get<AkGameObject>() == null) { in_GameObjectID.Add(new AkGameObject()); } } else { tempin_GameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetActiveListeners(tempin_GameObjectID, in_uListenerMask); return ret; } }
public static AKRESULT GetPlayingIDsFromGameObject(ComponentBind.Entity in_GameObjId, ref uint io_ruNumIDs, uint[] out_aPlayingIDs) { uint tempin_GameObjId; if ( in_GameObjId != null ) { tempin_GameObjId = getGameObjectID(in_GameObjId); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjId.Get<AkGameObject>() == null) { in_GameObjId.Add(new AkGameObject()); } } else { tempin_GameObjId = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetPlayingIDsFromGameObject(tempin_GameObjId, ref io_ruNumIDs, out_aPlayingIDs); return ret; } }
public static AKRESULT SetGameObjectOutputBusVolume(ComponentBind.Entity in_gameObjectID, float in_fControlValue) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetGameObjectOutputBusVolume(tempin_gameObjectID, in_fControlValue); return ret; } }
public static AKRESULT GetRTPCValue(uint in_rtpcID, ComponentBind.Entity in_gameObjectID, out float out_rValue, ref int io_rValueType) { uint tempin_gameObjectID; if ( in_gameObjectID != null ) { tempin_gameObjectID = getGameObjectID(in_gameObjectID); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_gameObjectID.Get<AkGameObject>() == null) { in_gameObjectID.Add(new AkGameObject()); } } else { tempin_gameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_GetRTPCValue__SWIG_0(in_rtpcID, tempin_gameObjectID, out out_rValue, ref io_rValueType); return ret; } }
public static AKRESULT SetAttenuationScalingFactor(ComponentBind.Entity in_GameObjectID, float in_fAttenuationScalingFactor) { uint tempin_GameObjectID; if ( in_GameObjectID != null ) { tempin_GameObjectID = (uint)in_GameObjectID.ID.GetHashCode(); // Note: if AkGameObjectTracker is already attached, the following code will be bypassed. if (in_GameObjectID.Get<AkGameObject>() == null) { in_GameObjectID.Add(new AkGameObject()); } } else { tempin_GameObjectID = unchecked((uint)-1); } { AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetAttenuationScalingFactor(tempin_GameObjectID, in_fAttenuationScalingFactor); return ret; } }