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

88 lines
4.3 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 AkImageSourceParams : global::System.IDisposable {
private global::System.IntPtr swigCPtr;
protected bool swigCMemOwn;
internal AkImageSourceParams(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkImageSourceParams obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal virtual void setCPtr(global::System.IntPtr cPtr) {
Dispose();
swigCPtr = cPtr;
}
~AkImageSourceParams() {
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_AkImageSourceParams(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
}
}
public AkImageSourceParams() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkImageSourceParams__SWIG_0(), true) {
}
public AkImageSourceParams(AkVector64 in_sourcePosition, float in_fDistanceScalingFactor, float in_fLevel) : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkImageSourceParams__SWIG_1(in_sourcePosition, in_fDistanceScalingFactor, in_fLevel), true) {
}
/// Image source position, relative to the world.
public AkVector64 sourcePosition { set { AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_sourcePosition_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_sourcePosition_get(swigCPtr); }
}
/// Image source distance scaling. This number effectively scales the sourcePosition vector with respect to the listener and, consequently, scales distance and preserves orientation.
public float fDistanceScalingFactor { set { AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fDistanceScalingFactor_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fDistanceScalingFactor_get(swigCPtr); }
}
/// Game-controlled level for this source, linear.
public float fLevel { set { AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fLevel_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fLevel_get(swigCPtr); }
}
/// Diffraction amount, normalized to the range [0,1].
public float fDiffraction { set { AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fDiffraction_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fDiffraction_get(swigCPtr); }
}
/// Portal occlusion amount, in the range [0,1].
public float fOcclusion { set { AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fOcclusion_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_fOcclusion_get(swigCPtr); }
}
/// If there is a shadow zone diffraction just after the emitter in the reflection path, indicates the number of diffraction edges, otherwise 0 if no diffraction.
public byte uDiffractionEmitterSide { set { AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionEmitterSide_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionEmitterSide_get(swigCPtr); }
}
/// If there is a shadow zone diffraction before reaching the listener in the reflection path, indicates the number of diffraction edges, otherwise 0 if no diffraction.
public byte uDiffractionListenerSide { set { AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionListenerSide_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkImageSourceParams_uDiffractionListenerSide_get(swigCPtr); }
}
}
#endif // #if !(UNITY_QNX) // Disable under unsupported platforms.