Esempio n. 1
0
 public cVector3 DivideEqual(cVector3 other) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_DivideEqual__SWIG_0(swigCPtr, cVector3.getCPtr(other)), false);
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 2
0
 public cVector3 DivideEqual(float v) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_DivideEqual__SWIG_1(swigCPtr, v), false);
   return ret;
 }
Esempio n. 3
0
 public virtual cVector3 getDopplerVelocity() {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDopplerVelocity(swigCPtr), true);
   return ret;
 }
Esempio n. 4
0
        public virtual cVector3 getDirection()
        {
            cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDirection(swigCPtr), true);

            return(ret);
        }
Esempio n. 5
0
 public virtual void setDirection(cVector3 direction) {
   cAudioCSharpWrapperPINVOKE.IAudioSource_setDirection(swigCPtr, cVector3.getCPtr(direction));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 6
0
 public virtual void move(cVector3 position) {
   cAudioCSharpWrapperPINVOKE.IAudioSource_move(swigCPtr, cVector3.getCPtr(position));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 7
0
 public cVector3(cVector3 other) : this(cAudioCSharpWrapperPINVOKE.new_cVector3__SWIG_3(cVector3.getCPtr(other)), true) {
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 8
0
 public cVector3 cross(cVector3 other) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_cross(swigCPtr, cVector3.getCPtr(other)), true);
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 9
0
 public virtual void setVelocity(cVector3 vel)
 {
     cAudioCSharpWrapperPINVOKE.IListener_setVelocity(swigCPtr, cVector3.getCPtr(vel));
     if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 10
0
 public virtual cVector3 getVelocity()
 {
     cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IListener_getVelocity(swigCPtr), true);
     return ret;
 }
Esempio n. 11
0
 public virtual void setUpVector(cVector3 up)
 {
     cAudioCSharpWrapperPINVOKE.IListener_setUpVector(swigCPtr, cVector3.getCPtr(up));
     if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 12
0
        public virtual cVector3 getPosition()
        {
            cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IListener_getPosition(swigCPtr), true);

            return(ret);
        }
Esempio n. 13
0
        public virtual cVector3 getDopplerVelocity()
        {
            cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDopplerVelocity(swigCPtr), true);

            return(ret);
        }
Esempio n. 14
0
 public bool NotEqual(cVector3 other) {
   bool ret = cAudioCSharpWrapperPINVOKE.cVector3_NotEqual(swigCPtr, cVector3.getCPtr(other));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 15
0
 public cVector3 Minus() {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_Minus__SWIG_0(swigCPtr), true);
   return ret;
 }
Esempio n. 16
0
 public float dot(cVector3 other) {
   float ret = cAudioCSharpWrapperPINVOKE.cVector3_dot(swigCPtr, cVector3.getCPtr(other));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 17
0
 public cVector3 Minus(float val) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_Minus__SWIG_2(swigCPtr, val), true);
   return ret;
 }
Esempio n. 18
0
 public void set(cVector3 other) {
   cAudioCSharpWrapperPINVOKE.cVector3_set__SWIG_2(swigCPtr, cVector3.getCPtr(other));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 19
0
 public cVector3 MinusEqual(float val) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_MinusEqual__SWIG_1(swigCPtr, val), false);
   return ret;
 }
Esempio n. 20
0
 public virtual void setDopplerVelocity(cVector3 dvelocity) {
   cAudioCSharpWrapperPINVOKE.IAudioSource_setDopplerVelocity(swigCPtr, cVector3.getCPtr(dvelocity));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 21
0
 public cVector3 Multiply(float v) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_Multiply__SWIG_1(swigCPtr, v), true);
   return ret;
 }
Esempio n. 22
0
 public virtual cVector3 getDirection() {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDirection(swigCPtr), true);
   return ret;
 }
Esempio n. 23
0
 internal static HandleRef getCPtr(cVector3 obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 24
0
 public virtual bool play3d(cVector3 position) {
   bool ret = cAudioCSharpWrapperPINVOKE.IAudioSource_play3d__SWIG_2(swigCPtr, cVector3.getCPtr(position));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 25
0
 public virtual IAudioSource play3D(string filename, cVector3 position) {
   IntPtr cPtr = cAudioCSharpWrapperPINVOKE.IAudioManager_play3D__SWIG_2(swigCPtr, filename, cVector3.getCPtr(position));
   IAudioSource ret = (cPtr == IntPtr.Zero) ? null : new IAudioSource(cPtr, false);
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }