Example #1
0
 public SdfLayerHandleVector(SdfLayerHandleVector other) : this(UsdCsPINVOKE.new_SdfLayerHandleVector__SWIG_1(SdfLayerHandleVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public SdfLayerHandleVectorEnumerator(SdfLayerHandleVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public void SetRange(int index, SdfLayerHandleVector values)
 {
     UsdCsPINVOKE.SdfLayerHandleVector_SetRange(swigCPtr, index, SdfLayerHandleVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
        public SdfLayerHandleVector GetSessionLayers()
        {
            SdfLayerHandleVector ret = new SdfLayerHandleVector(UsdCsPINVOKE.PcpLayerStack_GetSessionLayers(swigCPtr), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        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);
        }
Example #6
0
        public static SdfLayerHandleVector Repeat(SdfLayerHandle value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdfLayerHandleVector_Repeat(SdfLayerHandle.getCPtr(value), count);
            SdfLayerHandleVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayerHandleVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public SdfLayerHandleVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdfLayerHandleVector_GetRange(swigCPtr, index, count);
            SdfLayerHandleVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayerHandleVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public SdfLayerHandleVector GetSessionLayers()
        {
            SdfLayerHandleVector ret = new SdfLayerHandleVector(UsdCsPINVOKE.PcpLayerStackPtr_GetSessionLayers(swigCPtr), true);

            return(ret);
        }
Example #9
0
        public SdfLayerHandleVector GetUsedLayers()
        {
            SdfLayerHandleVector ret = new SdfLayerHandleVector(UsdCsPINVOKE.UsdStageWeakPtr_GetUsedLayers__SWIG_1(swigCPtr), true);

            return(ret);
        }
Example #10
0
        public SdfLayerHandleVector GetUsedLayers(bool includeClipLayers)
        {
            SdfLayerHandleVector ret = new SdfLayerHandleVector(UsdCsPINVOKE.UsdStageWeakPtr_GetUsedLayers__SWIG_0(swigCPtr, includeClipLayers), true);

            return(ret);
        }
Example #11
0
        public SdfLayerHandleVector GetLayerStack(bool includeSessionLayers)
        {
            SdfLayerHandleVector ret = new SdfLayerHandleVector(UsdCsPINVOKE.UsdStageWeakPtr_GetLayerStack__SWIG_0(swigCPtr, includeSessionLayers), true);

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