public MochaVec2 Mul(MochaVec2 rhs)
        {
            MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Mul__SWIG_1(swigCPtr, MochaVec2.getCPtr(rhs)), true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool NegComp(MochaVec2 rhs)
        {
            bool ret = SharpMochaPINVOKE.MochaVec2_NegComp(swigCPtr, MochaVec2.getCPtr(rhs));

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
 public MochaVec2 Reflect(MochaVec2 reflectionAxis)
 {
     MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Reflect(swigCPtr, MochaVec2.getCPtr(reflectionAxis)), true);
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #4
0
 public MochaVec2 Normalized()
 {
     MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Normalized(swigCPtr), true);
     return ret;
 }
Example #5
0
 public bool NegComp(MochaVec2 rhs)
 {
     bool ret = SharpMochaPINVOKE.MochaVec2_NegComp(swigCPtr, MochaVec2.getCPtr(rhs));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
        public MochaVec2 Div(float rhs)
        {
            MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Div__SWIG_0(swigCPtr, rhs), true);

            return(ret);
        }
Example #7
0
 public void SetTextureOffset(MochaVec2 offset)
 {
     SharpMochaPINVOKE.UVTransformNode_SetTextureOffset(swigCPtr, MochaVec2.getCPtr(offset));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #8
0
 public void SetTextureScale(MochaVec2 scale)
 {
     SharpMochaPINVOKE.UVTransformNode_SetTextureScale(swigCPtr, MochaVec2.getCPtr(scale));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MochaVec2 obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Example #10
0
        public MochaVec2 Sub()
        {
            MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Sub__SWIG_0(swigCPtr), true);

            return(ret);
        }
Example #11
0
        public MochaVec2 Negate()
        {
            MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Negate(swigCPtr), false);

            return(ret);
        }
Example #12
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MochaVec2 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #13
0
        public MochaVec2 Normalized()
        {
            MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Normalized(swigCPtr), true);

            return(ret);
        }
Example #14
0
        public MochaVec2 Reflect(MochaVec2 reflectionAxis)
        {
            MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Reflect(swigCPtr, MochaVec2.getCPtr(reflectionAxis)), true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #15
0
 public MochaVec2 Sub()
 {
     MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Sub__SWIG_0(swigCPtr), true);
     return ret;
 }
Example #16
0
 public void AddScaledVector(MochaVec2 Vector, float scalar)
 {
     SharpMochaPINVOKE.MochaVec2_AddScaledVector(swigCPtr, MochaVec2.getCPtr(Vector), scalar);
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #17
0
 public MochaVec2 Sub(MochaVec2 rhs)
 {
     MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Sub__SWIG_1(swigCPtr, MochaVec2.getCPtr(rhs)), true);
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #18
0
 public float Dot(MochaVec2 rhs)
 {
     float ret = SharpMochaPINVOKE.MochaVec2_Dot(swigCPtr, MochaVec2.getCPtr(rhs));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #19
0
 public MochaVec3(MochaVec2 Vector2) : this(SharpMochaPINVOKE.new_MochaVec3__SWIG_4(MochaVec2.getCPtr(Vector2)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #20
0
 public MochaVec2 Mul(float rhs)
 {
     MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Mul__SWIG_0(swigCPtr, rhs), true);
     return ret;
 }
Example #21
0
 public MochaVec2 GetTextureScale()
 {
     MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.UVTransformNode_GetTextureScale(swigCPtr), true);
     return ret;
 }
Example #22
0
 public MochaVec2 Negate()
 {
     MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.MochaVec2_Negate(swigCPtr), false);
     return ret;
 }
Example #23
0
 public MochaVec3(MochaVec2 Vector2)
     : this(SharpMochaPINVOKE.new_MochaVec3__SWIG_4(MochaVec2.getCPtr(Vector2)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
Example #24
0
        public MochaVec2 GetTextureScale()
        {
            MochaVec2 ret = new MochaVec2(SharpMochaPINVOKE.UVTransformNode_GetTextureScale(swigCPtr), true);

            return(ret);
        }