public SdfLayer GenerateClipManifest()
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdClipsAPI_GenerateClipManifest__SWIG_3(swigCPtr);
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            return(ret);
        }
Exemple #2
0
        public SdfLayer Flatten()
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdStageWeakPtr_Flatten__SWIG_1(swigCPtr);
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            return(ret);
        }
        public SdfLayer GenerateClipManifest(bool writeBlocksForClipsWithMissingValues)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdClipsAPI_GenerateClipManifest__SWIG_2(swigCPtr, writeBlocksForClipsWithMissingValues);
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            return(ret);
        }
Exemple #4
0
        public SdfLayer Flatten(bool addSourceFileComment)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdStageWeakPtr_Flatten__SWIG_0(swigCPtr, addSourceFileComment);
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            return(ret);
        }
 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();
     }
 }
 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();
     }
 }
        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);
        }
        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);
        }
        public static SdfLayer GenerateClipManifestFromLayers(SdfLayerHandleVector clipLayers, SdfPath clipPrimPath)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdClipsAPI_GenerateClipManifestFromLayers(SdfLayerHandleVector.getCPtr(clipLayers), SdfPath.getCPtr(clipPrimPath));
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #10
0
        public SdfLayer GenerateClipManifest(string clipSet)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdClipsAPI_GenerateClipManifest__SWIG_1(swigCPtr, clipSet);
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static SdfLayer GetSessionLayerForVariantSelections(TfToken modelName, SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t variantSelections)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdUtilsStageCache_GetSessionLayerForVariantSelections(TfToken.getCPtr(modelName), SWIGTYPE_p_std__vectorT_std__pairT_std__string_std__string_t_t.getCPtr(variantSelections));
            SdfLayer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayer(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }