Ejemplo n.º 1
0
        public RayCastResult RayCast3DWithTag_Output(MochaVec3 pos, MochaVec3 dir, float maxDistance, SWIGTYPE_p_std__string tag)
        {
            RayCastResult ret = new RayCastResult(SharpMochaPINVOKE.PhysicEngine_RayCast3DWithTag_Output(swigCPtr, MochaVec3.getCPtr(pos), MochaVec3.getCPtr(dir), maxDistance, SWIGTYPE_p_std__string.getCPtr(tag)), true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
 public RayCastResult RayCast3D_Output(MochaVec3 pos, MochaVec3 dir, float maxDistance)
 {
     RayCastResult ret = new RayCastResult(SharpMochaPINVOKE.PhysicEngine_RayCast3D_Output(swigCPtr, MochaVec3.getCPtr(pos), MochaVec3.getCPtr(dir), maxDistance), true);
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Ejemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RayCastResult obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RayCastResult obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }