ccl4/blueberryPeak/Assets/Wwise/API/Runtime/Generated/Common/AkAuxSendValue.cs
2025-06-12 10:36:40 +02:00

85 lines
3.2 KiB
C#

#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.3.0
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AkAuxSendValue : global::System.IDisposable {
private global::System.IntPtr swigCPtr;
protected bool swigCMemOwn;
internal AkAuxSendValue(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkAuxSendValue obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal virtual void setCPtr(global::System.IntPtr cPtr) {
Dispose();
swigCPtr = cPtr;
}
~AkAuxSendValue() {
Dispose(false);
}
public void Dispose() {
Dispose(true);
global::System.GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing) {
lock(this) {
if (swigCPtr != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
AkUnitySoundEnginePINVOKE.CSharp_delete_AkAuxSendValue(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
}
}
public ulong listenerID { set { AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_listenerID_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_listenerID_get(swigCPtr); }
}
public uint auxBusID { set { AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_auxBusID_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_auxBusID_get(swigCPtr); }
}
public float fControlValue { set { AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_fControlValue_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_fControlValue_get(swigCPtr); }
}
public void Set(ulong listener, uint id, float value) { AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_Set(swigCPtr, listener, id, value); }
public bool IsSame(ulong listener, uint id) { return AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_IsSame(swigCPtr, listener, id); }
public void Set(UnityEngine.GameObject listener, uint id, float value)
{
var listener_id = AkUnitySoundEngine.GetAkGameObjectID(listener);
AkUnitySoundEngine.PreGameObjectAPICall(listener, listener_id);
Set(listener_id, id, value);
}
public bool IsSame(UnityEngine.GameObject listener, uint id)
{
var listener_id = AkUnitySoundEngine.GetAkGameObjectID(listener);
AkUnitySoundEngine.PreGameObjectAPICall(listener, listener_id);
return IsSame(listener_id, id);
}
public static int GetSizeOf() { return AkUnitySoundEnginePINVOKE.CSharp_AkAuxSendValue_GetSizeOf(); }
}
#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.