public UsdShadeInputVector(UsdShadeInputVector other) : this(UsdCsPINVOKE.new_UsdShadeInputVector__SWIG_1(UsdShadeInputVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public UsdShadeInputVectorEnumerator(UsdShadeInputVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, UsdShadeInputVector values)
 {
     UsdCsPINVOKE.UsdShadeInputVector_SetRange(swigCPtr, index, UsdShadeInputVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static UsdShadeInputVector Repeat(UsdShadeInput value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdShadeInputVector_Repeat(UsdShadeInput.getCPtr(value), count);
            UsdShadeInputVector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdShadeInputVector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
        public UsdShadeInputVector GetInputs()
        {
            UsdShadeInputVector ret = new UsdShadeInputVector(UsdCsPINVOKE.UsdShadeShader_GetInputs(swigCPtr), true);

            return(ret);
        }
        public UsdShadeInputVector GetInterfaceInputs()
        {
            UsdShadeInputVector ret = new UsdShadeInputVector(UsdCsPINVOKE.UsdRiMaterialAPI_GetInterfaceInputs(swigCPtr), true);

            return(ret);
        }
        public UsdShadeInputVector GetInterfaceInputs()
        {
            UsdShadeInputVector ret = new UsdShadeInputVector(UsdCsPINVOKE.UsdShadeNodeGraph_GetInterfaceInputs(swigCPtr), true);

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