Пример #1
0
        public CBoxColliderComponent SetHalfExtents(MochaVec3 halfExtents)
        {
            CBoxColliderComponent ret = new CBoxColliderComponent(SharpMochaPINVOKE.CBoxColliderComponent_SetHalfExtents(swigCPtr, MochaVec3.getCPtr(halfExtents)), false);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CBoxColliderComponent obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Пример #3
0
 public CBoxColliderComponent SetHalfExtents(MochaVec3 halfExtents)
 {
     CBoxColliderComponent ret = new CBoxColliderComponent(SharpMochaPINVOKE.CBoxColliderComponent_SetHalfExtents(swigCPtr, MochaVec3.getCPtr(halfExtents)), false);
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Пример #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CBoxColliderComponent obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }