public NdrNodeDiscoveryResultVector(NdrNodeDiscoveryResultVector other) : this(UsdCsPINVOKE.new_NdrNodeDiscoveryResultVector__SWIG_1(NdrNodeDiscoveryResultVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public NdrNodeDiscoveryResultVectorEnumerator(NdrNodeDiscoveryResultVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, NdrNodeDiscoveryResultVector values)
 {
     UsdCsPINVOKE.NdrNodeDiscoveryResultVector_SetRange(swigCPtr, index, NdrNodeDiscoveryResultVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public virtual NdrNodeDiscoveryResultVector DiscoverNodes(NdrDiscoveryPluginContext arg0)
        {
            NdrNodeDiscoveryResultVector ret = new NdrNodeDiscoveryResultVector(UsdCsPINVOKE.NdrDiscoveryPlugin_DiscoverNodes(swigCPtr, NdrDiscoveryPluginContext.getCPtr(arg0)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public static NdrNodeDiscoveryResultVector GetNodeDiscoveryResults(UsdShadeShader shaderDef, string sourceUri)
        {
            NdrNodeDiscoveryResultVector ret = new NdrNodeDiscoveryResultVector(UsdCsPINVOKE.UsdShadeShaderDefUtils_GetNodeDiscoveryResults(UsdShadeShader.getCPtr(shaderDef), sourceUri), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static NdrNodeDiscoveryResultVector Repeat(NdrNodeDiscoveryResult value, int count)
        {
            global::System.IntPtr        cPtr = UsdCsPINVOKE.NdrNodeDiscoveryResultVector_Repeat(NdrNodeDiscoveryResult.getCPtr(value), count);
            NdrNodeDiscoveryResultVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNodeDiscoveryResultVector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NdrNodeDiscoveryResultVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }