Ejemplo n.º 1
0
 public UsdShadeOutputVector(UsdShadeOutputVector other) : this(UsdCsPINVOKE.new_UsdShadeOutputVector__SWIG_1(UsdShadeOutputVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public UsdShadeOutputVectorEnumerator(UsdShadeOutputVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, UsdShadeOutputVector values)
 {
     UsdCsPINVOKE.UsdShadeOutputVector_SetRange(swigCPtr, index, UsdShadeOutputVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public static UsdShadeOutputVector Repeat(UsdShadeOutput value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdShadeOutputVector_Repeat(UsdShadeOutput.getCPtr(value), count);
            UsdShadeOutputVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdShadeOutputVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public UsdShadeOutputVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdShadeOutputVector_GetRange(swigCPtr, index, count);
            UsdShadeOutputVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdShadeOutputVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public UsdShadeOutputVector GetOutputs()
        {
            UsdShadeOutputVector ret = new UsdShadeOutputVector(UsdCsPINVOKE.UsdShadeShader_GetOutputs(swigCPtr), true);

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