Exemple #1
0
 public PcpPrimIndex(PcpPrimIndex rhs) : this(UsdCsPINVOKE.new_PcpPrimIndex__SWIG_1(PcpPrimIndex.getCPtr(rhs)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void swap(PcpPrimIndex rhs)
 {
     UsdCsPINVOKE.PcpPrimIndex_swap(swigCPtr, PcpPrimIndex.getCPtr(rhs));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
        public PcpPrimIndex ComputePrimIndex(SdfPath primPath, SWIGTYPE_p_PcpErrorVector allErrors)
        {
            PcpPrimIndex ret = new PcpPrimIndex(UsdCsPINVOKE.PcpCache_ComputePrimIndex(swigCPtr, SdfPath.getCPtr(primPath), SWIGTYPE_p_PcpErrorVector.getCPtr(allErrors)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
        public PcpPrimIndex FindPrimIndex(SdfPath primPath)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.PcpCache_FindPrimIndex(swigCPtr, SdfPath.getCPtr(primPath));
            PcpPrimIndex          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PcpPrimIndex(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #5
0
        public PcpPrimIndex ComputeExpandedPrimIndex()
        {
            PcpPrimIndex ret = new PcpPrimIndex(UsdCsPINVOKE.UsdPrim_ComputeExpandedPrimIndex(swigCPtr), true);

            return(ret);
        }
Exemple #6
0
        public PcpPrimIndex GetPrimIndex()
        {
            PcpPrimIndex ret = new PcpPrimIndex(UsdCsPINVOKE.UsdPrim_GetPrimIndex(swigCPtr), false);

            return(ret);
        }
Exemple #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PcpPrimIndex obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }