Beispiel #1
0
 public void Rename(SWIGTYPE_p_std__string newName)
 {
     SharpMochaPINVOKE.Prefab_Rename(swigCPtr, SWIGTYPE_p_std__string.getCPtr(newName));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__string obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #3
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;
 }
Beispiel #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__string obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #5
0
 public void Rename(SWIGTYPE_p_std__string newName)
 {
     SharpMochaPINVOKE.Prefab_Rename(swigCPtr, SWIGTYPE_p_std__string.getCPtr(newName));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #6
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);
        }