コード例 #1
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 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;
 }
コード例 #2
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public cVector3 DivideEqual(float v) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_DivideEqual__SWIG_1(swigCPtr, v), false);
   return ret;
 }
コード例 #3
0
ファイル: IAudioSource.cs プロジェクト: ComradeKeys/cAudio
 public virtual cVector3 getDopplerVelocity() {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDopplerVelocity(swigCPtr), true);
   return ret;
 }
コード例 #4
0
        public virtual cVector3 getDirection()
        {
            cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDirection(swigCPtr), true);

            return(ret);
        }
コード例 #5
0
ファイル: IAudioSource.cs プロジェクト: ComradeKeys/cAudio
 public virtual void setDirection(cVector3 direction) {
   cAudioCSharpWrapperPINVOKE.IAudioSource_setDirection(swigCPtr, cVector3.getCPtr(direction));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #6
0
ファイル: IAudioSource.cs プロジェクト: ComradeKeys/cAudio
 public virtual void move(cVector3 position) {
   cAudioCSharpWrapperPINVOKE.IAudioSource_move(swigCPtr, cVector3.getCPtr(position));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #7
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public cVector3(cVector3 other) : this(cAudioCSharpWrapperPINVOKE.new_cVector3__SWIG_3(cVector3.getCPtr(other)), true) {
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #8
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 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;
 }
コード例 #9
0
ファイル: IListener.cs プロジェクト: northWind87/cAudio
 public virtual void setVelocity(cVector3 vel)
 {
     cAudioCSharpWrapperPINVOKE.IListener_setVelocity(swigCPtr, cVector3.getCPtr(vel));
     if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #10
0
ファイル: IListener.cs プロジェクト: northWind87/cAudio
 public virtual cVector3 getVelocity()
 {
     cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IListener_getVelocity(swigCPtr), true);
     return ret;
 }
コード例 #11
0
ファイル: IListener.cs プロジェクト: northWind87/cAudio
 public virtual void setUpVector(cVector3 up)
 {
     cAudioCSharpWrapperPINVOKE.IListener_setUpVector(swigCPtr, cVector3.getCPtr(up));
     if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #12
0
        public virtual cVector3 getPosition()
        {
            cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IListener_getPosition(swigCPtr), true);

            return(ret);
        }
コード例 #13
0
        public virtual cVector3 getDopplerVelocity()
        {
            cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDopplerVelocity(swigCPtr), true);

            return(ret);
        }
コード例 #14
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public bool NotEqual(cVector3 other) {
   bool ret = cAudioCSharpWrapperPINVOKE.cVector3_NotEqual(swigCPtr, cVector3.getCPtr(other));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #15
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public cVector3 Minus() {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_Minus__SWIG_0(swigCPtr), true);
   return ret;
 }
コード例 #16
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public float dot(cVector3 other) {
   float ret = cAudioCSharpWrapperPINVOKE.cVector3_dot(swigCPtr, cVector3.getCPtr(other));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #17
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public cVector3 Minus(float val) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_Minus__SWIG_2(swigCPtr, val), true);
   return ret;
 }
コード例 #18
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public void set(cVector3 other) {
   cAudioCSharpWrapperPINVOKE.cVector3_set__SWIG_2(swigCPtr, cVector3.getCPtr(other));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #19
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public cVector3 MinusEqual(float val) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_MinusEqual__SWIG_1(swigCPtr, val), false);
   return ret;
 }
コード例 #20
0
ファイル: IAudioSource.cs プロジェクト: ComradeKeys/cAudio
 public virtual void setDopplerVelocity(cVector3 dvelocity) {
   cAudioCSharpWrapperPINVOKE.IAudioSource_setDopplerVelocity(swigCPtr, cVector3.getCPtr(dvelocity));
   if (cAudioCSharpWrapperPINVOKE.SWIGPendingException.Pending) throw cAudioCSharpWrapperPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #21
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 public cVector3 Multiply(float v) {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.cVector3_Multiply__SWIG_1(swigCPtr, v), true);
   return ret;
 }
コード例 #22
0
ファイル: IAudioSource.cs プロジェクト: ComradeKeys/cAudio
 public virtual cVector3 getDirection() {
   cVector3 ret = new cVector3(cAudioCSharpWrapperPINVOKE.IAudioSource_getDirection(swigCPtr), true);
   return ret;
 }
コード例 #23
0
ファイル: cVector3.cs プロジェクト: ComradeKeys/cAudio
 internal static HandleRef getCPtr(cVector3 obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #24
0
ファイル: IAudioSource.cs プロジェクト: ComradeKeys/cAudio
 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;
 }
コード例 #25
0
ファイル: IAudioManager.cs プロジェクト: ComradeKeys/cAudio
 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;
 }