Feat : Wwise Integration
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
#if !(UNITY_QNX) // Disable under unsupported platforms.
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated />
|
||||
//
|
||||
// This file was automatically generated by SWIG (https://www.swig.org).
|
||||
// Version 4.4.0
|
||||
//
|
||||
// Do not make changes to this file unless you know what you are doing - modify
|
||||
// the SWIG interface file instead.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/// 3D data needed for 3D spatialization.
|
||||
/// Undergoes transformations based on emitter-listener placement.
|
||||
|
||||
public class Ak3dData : global::System.IDisposable {
|
||||
private global::System.IntPtr swigCPtr;
|
||||
protected bool swigCMemOwn;
|
||||
|
||||
internal Ak3dData(global::System.IntPtr cPtr, bool cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(Ak3dData obj) {
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr) {
|
||||
Dispose();
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
~Ak3dData() {
|
||||
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_Ak3dData(swigCPtr);
|
||||
}
|
||||
swigCPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public Ak3dData() : this(AkUnitySoundEnginePINVOKE.CSharp_new_Ak3dData(), true) {
|
||||
}
|
||||
|
||||
/// Object position / orientation.
|
||||
public AkTransform xform { set { AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_xform_set(swigCPtr, AkTransform.getCPtr(value)); }
|
||||
get {
|
||||
global::System.IntPtr cPtr = AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_xform_get(swigCPtr);
|
||||
AkTransform ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkTransform(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/// Spread [0,1]
|
||||
public float spread { set { AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_spread_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_spread_get(swigCPtr); }
|
||||
}
|
||||
|
||||
/// Focus [0,1]
|
||||
public float focus { set { AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_focus_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_focus_get(swigCPtr); }
|
||||
}
|
||||
|
||||
/// Emitter channel mask. With 3D spatialization, zeroed channels should be dropped.
|
||||
public uint uEmitterChannelMask { set { AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_uEmitterChannelMask_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_Ak3dData_uEmitterChannelMask_get(swigCPtr); }
|
||||
}
|
||||
|
||||
}
|
||||
#endif // #if !(UNITY_QNX) // Disable under unsupported platforms.
|
||||
Reference in New Issue
Block a user