Files
Ipseity-Demo/Assets/Wwise/API/Runtime/Generated/Common/AkMarkerCallbackInfo.cs
T
2026-03-23 14:28:21 +01:00

59 lines
2.2 KiB
C#

#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.
//------------------------------------------------------------------------------
public class AkMarkerCallbackInfo : AkEventCallbackInfo {
private global::System.IntPtr swigCPtr;
internal AkMarkerCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkUnitySoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkMarkerCallbackInfo obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal override void setCPtr(global::System.IntPtr cPtr) {
base.setCPtr(AkUnitySoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_SWIGUpcast(cPtr));
swigCPtr = cPtr;
}
protected override void Dispose(bool disposing) {
lock(this) {
if (swigCPtr != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
AkUnitySoundEnginePINVOKE.CSharp_delete_AkMarkerCallbackInfo(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
base.Dispose(disposing);
}
}
/// Cue point identifier
public uint uIdentifier { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_uIdentifier_get(swigCPtr); }
}
/// Position in the cue point (unit: sample frames)
public uint uPosition { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_uPosition_get(swigCPtr); }
}
/// Label of the marker, read from the file
public string strLabel { get { return AkUnitySoundEngine.StringFromIntPtrString(AkUnitySoundEnginePINVOKE.CSharp_AkMarkerCallbackInfo_strLabel_get(swigCPtr)); }
}
public AkMarkerCallbackInfo() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkMarkerCallbackInfo(), true) {
}
}
#endif // #if !(UNITY_QNX) // Disable under unsupported platforms.