示例#1
0
        public static UsdZipFile Open(string filePath)
        {
            UsdZipFile ret = new UsdZipFile(UsdCsPINVOKE.UsdZipFile_Open__SWIG_0(filePath), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#2
0
        public static UsdZipFile Open(SWIGTYPE_p_std__shared_ptrT_ArAsset_t asset)
        {
            UsdZipFile ret = new UsdZipFile(UsdCsPINVOKE.UsdZipFile_Open__SWIG_1(SWIGTYPE_p_std__shared_ptrT_ArAsset_t.getCPtr(asset)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdZipFile obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }