#if !(UNITY_QNX) // Disable under unsupported platforms. //------------------------------------------------------------------------------ // // // 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. //------------------------------------------------------------------------------ /// Custom data about a Wwise Motion output device instance /// This data can be retrieved via the ``customData`` member of AkOutputDeviceInfo. public class AkMotionDeviceData : global::System.IDisposable { private global::System.IntPtr swigCPtr; protected bool swigCMemOwn; internal AkMotionDeviceData(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } internal static global::System.IntPtr getCPtr(AkMotionDeviceData obj) { return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr; } internal virtual void setCPtr(global::System.IntPtr cPtr) { Dispose(); swigCPtr = cPtr; } ~AkMotionDeviceData() { 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_AkMotionDeviceData(swigCPtr); } swigCPtr = global::System.IntPtr.Zero; } global::System.GC.SuppressFinalize(this); } } /// Type of motion device public AkMotionDeviceType deviceType { set { AkUnitySoundEnginePINVOKE.CSharp_AkMotionDeviceData_deviceType_set(swigCPtr, (int)value); } get { return (AkMotionDeviceType)AkUnitySoundEnginePINVOKE.CSharp_AkMotionDeviceData_deviceType_get(swigCPtr); } } /// Indicates the ideal input data profile for this Motion device instance public AkMotionInputProfile inputProfile { set { AkUnitySoundEnginePINVOKE.CSharp_AkMotionDeviceData_inputProfile_set(swigCPtr, (int)value); } get { return (AkMotionInputProfile)AkUnitySoundEnginePINVOKE.CSharp_AkMotionDeviceData_inputProfile_get(swigCPtr); } } public AkMotionDeviceData() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkMotionDeviceData(), true) { } } #endif // #if !(UNITY_QNX) // Disable under unsupported platforms.