Exemplo n.º 1
0
        public NdrNode GetNodeByURI(string uri)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeByURI(swigCPtr, uri);
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public NdrNode GetNodeFromSourceCode(string sourceCode, TfToken sourceType, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeFromSourceCode(swigCPtr, sourceCode, TfToken.getCPtr(sourceType), SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t.getCPtr(metadata));
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public NdrNode GetNodeByNameAndType(string name, TfToken nodeType)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeByNameAndType__SWIG_1(swigCPtr, name, TfToken.getCPtr(nodeType));
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public NdrNode GetNodeByName(string name, TfTokenVector typePriority, NdrVersionFilter filter)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeByName__SWIG_0(swigCPtr, name, TfTokenVector.getCPtr(typePriority), (int)filter);
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public NdrNode GetNodeByIdentifier(TfToken identifier)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeByIdentifier__SWIG_1(swigCPtr, TfToken.getCPtr(identifier));
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public NdrNode GetNodeFromAsset(SdfAssetPath asset, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata, TfToken subIdentifier)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.NdrRegistry_GetNodeFromAsset__SWIG_1(swigCPtr, SdfAssetPath.getCPtr(asset), SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t.getCPtr(metadata), TfToken.getCPtr(subIdentifier));
            NdrNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new NdrNode(cPtr, false);

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