Exemplo n.º 1
0
        public bool HasLayer(SdfLayer layer)
        {
            bool ret = UsdCsPINVOKE.PcpLayerStackPtr_HasLayer__SWIG_1(swigCPtr, SdfLayer.getCPtr(layer));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
 public UsdEditTarget(SdfLayer layer, PcpNodeRef node) : this(UsdCsPINVOKE.new_UsdEditTarget__SWIG_6(SdfLayer.getCPtr(layer), PcpNodeRef.getCPtr(node)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public SdfLayerOffset GetLayerOffsetForLayer(SdfLayer arg0)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.PcpLayerStackPtr_GetLayerOffsetForLayer__SWIG_1(swigCPtr, SdfLayer.getCPtr(arg0));
            SdfLayerOffset        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayerOffset(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
 public UsdEditTarget(SdfLayer layer, SdfLayerOffset offset) : this(UsdCsPINVOKE.new_UsdEditTarget__SWIG_3(SdfLayer.getCPtr(layer), SdfLayerOffset.getCPtr(offset)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }