Пример #1
0
 public UsdShadeShaderVector(UsdShadeShaderVector other) : this(UsdCsPINVOKE.new_UsdShadeShaderVector__SWIG_1(UsdShadeShaderVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public UsdShadeShaderVectorEnumerator(UsdShadeShaderVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, UsdShadeShaderVector values)
 {
     UsdCsPINVOKE.UsdShadeShaderVector_SetRange(swigCPtr, index, UsdShadeShaderVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public static UsdShadeShaderVector Repeat(UsdShadeShader value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdShadeShaderVector_Repeat(UsdShadeShader.getCPtr(value), count);
            UsdShadeShaderVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdShadeShaderVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public UsdShadeShaderVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdShadeShaderVector_GetRange(swigCPtr, index, count);
            UsdShadeShaderVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdShadeShaderVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdShadeShaderVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }