Inheritance: HandleBase
Beispiel #1
0
 public RESULT createReverb3D(out Reverb3D reverb)
 {
     IntPtr raw;
     RESULT result = System.FMOD5_System_CreateReverb3D(this.rawPtr, out raw);
     reverb = new Reverb3D(raw);
     return result;
 }
Beispiel #2
0
 public static Reverb3D FromFmod(FMOD.Reverb3D reverb)
 {
     if (reverb == null)
     {
         throw new ArgumentNullException(nameof(reverb));
     }
     return(new Reverb3D(reverb));
 }
Beispiel #3
0
        public RESULT createReverb3D(out Reverb3D reverb)
        {
            IntPtr raw;
            RESULT result = System.FMOD5_System_CreateReverb3D(this.rawPtr, out raw);

            reverb = new Reverb3D(raw);
            return(result);
        }
Beispiel #4
0
        public RESULT release()
        {
            RESULT rESULT = Reverb3D.FMOD5_Reverb3D_Release(base.getRaw());

            if (rESULT == RESULT.OK)
            {
                this.rawPtr = IntPtr.Zero;
            }
            return(rESULT);
        }
Beispiel #5
0
        public RESULT createReverb3D         (out Reverb3D reverb)
        {
            IntPtr reverbraw;
            RESULT result = FMOD_System_CreateReverb3D(rawPtr, out reverbraw);
            reverb = new Reverb3D(reverbraw);

            return result;
        }
Beispiel #6
0
 private Reverb3D(FMOD.Reverb3D reverb)
     : this()
 {
     FmodReverb = reverb;
 }
Beispiel #7
0
 public RESULT getUserData(out IntPtr userdata)
 {
     return(Reverb3D.FMOD5_Reverb3D_GetUserData(this.rawPtr, out userdata));
 }
Beispiel #8
0
 public RESULT setUserData(IntPtr userdata)
 {
     return(Reverb3D.FMOD5_Reverb3D_SetUserData(this.rawPtr, userdata));
 }
Beispiel #9
0
 public RESULT getActive(out bool active)
 {
     return(Reverb3D.FMOD5_Reverb3D_GetActive(this.rawPtr, out active));
 }
Beispiel #10
0
 public RESULT setActive(bool active)
 {
     return(Reverb3D.FMOD5_Reverb3D_SetActive(this.rawPtr, active));
 }
Beispiel #11
0
 public RESULT getProperties(ref REVERB_PROPERTIES properties)
 {
     return(Reverb3D.FMOD5_Reverb3D_GetProperties(this.rawPtr, ref properties));
 }
Beispiel #12
0
 public RESULT get3DAttributes(ref VECTOR position, ref float mindistance, ref float maxdistance)
 {
     return(Reverb3D.FMOD5_Reverb3D_Get3DAttributes(this.rawPtr, ref position, ref mindistance, ref maxdistance));
 }
 public override void Init()
 {
     reverb = Game.soundPlayer.CreateReverb(reverbPropeties, location + owner.location, maxDist, minDist);
 }
 public RESULT createReverb3D(out Reverb3D reverb)
 {
     return(FMOD5_System_CreateReverb3D(handle, out reverb.handle));
 }