public GameObject DragObject_DoRaycast(MochaVec4 CamPos, MochaVec4 Mouse, GameObject obj, float arg3) { global::System.IntPtr cPtr = SharpMochaPINVOKE.PhysicEngine_DragObject_DoRaycast(swigCPtr, MochaVec4.getCPtr(CamPos), MochaVec4.getCPtr(Mouse), GameObject.getCPtr(obj), arg3); GameObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObject(cPtr, false); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void ScaleByVector(MochaVec4 rhs) { SharpMochaPINVOKE.MochaVec4_ScaleByVector(swigCPtr, MochaVec4.getCPtr(rhs)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddScaledVector(MochaVec4 Vector, float scalar) { SharpMochaPINVOKE.MochaVec4_AddScaledVector(swigCPtr, MochaVec4.getCPtr(Vector), scalar); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddForce(MochaVec4 force) { SharpMochaPINVOKE.CPhysics_AddForce__SWIG_0(swigCPtr, MochaVec4.getCPtr(force)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetVelocity(MochaVec4 velocity) { SharpMochaPINVOKE.CPhysics_SetVelocity__SWIG_0(swigCPtr, MochaVec4.getCPtr(velocity)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetPosition(MochaVec4 position) { SharpMochaPINVOKE.CPhysics_SetPosition(swigCPtr, MochaVec4.getCPtr(position)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public float Dot(MochaVec4 rhs) { float ret = SharpMochaPINVOKE.MochaVec4_Dot(swigCPtr, MochaVec4.getCPtr(rhs)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MochaVec4 Cross(MochaVec4 rhs) { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Cross(swigCPtr, MochaVec4.getCPtr(rhs)), true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool NegComp(MochaVec4 rhs) { bool ret = SharpMochaPINVOKE.MochaVec4_NegComp(swigCPtr, MochaVec4.getCPtr(rhs)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GameObject RayCast(MochaVec4 start, MochaVec4 vec, Color color) { global::System.IntPtr cPtr = SharpMochaPINVOKE.PhysicEngine_RayCast(swigCPtr, MochaVec4.getCPtr(start), MochaVec4.getCPtr(vec), Color.getCPtr(color)); GameObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObject(cPtr, false); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GameObject DragObject_DoRaycast(MochaVec4 CamPos, MochaVec4 Mouse, GameObject obj, float arg3) { global::System.IntPtr cPtr = SharpMochaPINVOKE.PhysicEngine_DragObject_DoRaycast(swigCPtr, MochaVec4.getCPtr(CamPos), MochaVec4.getCPtr(Mouse), GameObject.getCPtr(obj), arg3); GameObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObject(cPtr, false); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MochaVec4 Normalized() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Normalized(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MochaVec4 obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public float Dot(MochaVec4 rhs) { float ret = SharpMochaPINVOKE.MochaVec4_Dot(swigCPtr, MochaVec4.getCPtr(rhs)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void ScaleByVector(MochaVec4 rhs) { SharpMochaPINVOKE.MochaVec4_ScaleByVector(swigCPtr, MochaVec4.getCPtr(rhs)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
public MochaVec4 GetVelocity() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.CPhysics_GetVelocity(swigCPtr), false); return ret; }
public void SetVelocity(MochaVec4 velocity) { SharpMochaPINVOKE.CPhysics_SetVelocity__SWIG_0(swigCPtr, MochaVec4.getCPtr(velocity)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
public MochaVec4 GetPrevPosition() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.CPhysics_GetPrevPosition(swigCPtr), false); return(ret); }
public MochaVec4 GetPrevPosition() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.CPhysics_GetPrevPosition(swigCPtr), false); return ret; }
public MochaVec4 GetGravity() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.PhysicEngine_GetGravity(swigCPtr), false); return ret; }
public MochaVec4 GetGravity() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.PhysicEngine_GetGravity(swigCPtr), false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MochaVec4 obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public MochaVec4 Sub(MochaVec4 rhs) { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Sub__SWIG_1(swigCPtr, MochaVec4.getCPtr(rhs)), true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public MochaVec4 Sub() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Sub__SWIG_0(swigCPtr), true); return ret; }
public MochaVec4 Negate() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Negate(swigCPtr), false); return(ret); }
public MochaVec4 Div(float rhs) { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Div__SWIG_0(swigCPtr, rhs), true); return(ret); }
public void AddScaledVector(MochaVec4 Vector, float scalar) { SharpMochaPINVOKE.MochaVec4_AddScaledVector(swigCPtr, MochaVec4.getCPtr(Vector), scalar); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
public bool NegComp(MochaVec4 rhs) { bool ret = SharpMochaPINVOKE.MochaVec4_NegComp(swigCPtr, MochaVec4.getCPtr(rhs)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public MochaVec4 GetForce() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.CPhysics_GetForce(swigCPtr), false); return(ret); }
public MochaVec4 Negate() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Negate(swigCPtr), false); return ret; }
public void SetPosition(MochaVec4 position) { SharpMochaPINVOKE.CPhysics_SetPosition(swigCPtr, MochaVec4.getCPtr(position)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
public MochaVec4 Mul(float rhs) { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Mul__SWIG_0(swigCPtr, rhs), true); return ret; }
public MochaVec4 Sub() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Sub__SWIG_0(swigCPtr), true); return(ret); }
public MochaVec4 Normalized() { MochaVec4 ret = new MochaVec4(SharpMochaPINVOKE.MochaVec4_Normalized(swigCPtr), true); return ret; }
public GameObject RayCast(MochaVec4 start, MochaVec4 vec, Color color) { global::System.IntPtr cPtr = SharpMochaPINVOKE.PhysicEngine_RayCast(swigCPtr, MochaVec4.getCPtr(start), MochaVec4.getCPtr(vec), Color.getCPtr(color)); GameObject ret = (cPtr == global::System.IntPtr.Zero) ? null : new GameObject(cPtr, false); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public void AddForce(MochaVec4 force) { SharpMochaPINVOKE.CPhysics_AddForce__SWIG_0(swigCPtr, MochaVec4.getCPtr(force)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }