Exemplo n.º 1
0
        public static bool ConnectToSource(UsdShadeInput input, SdfPath sourcePath)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ConnectToSource__SWIG_10(UsdShadeInput.getCPtr(input), SdfPath.getCPtr(sourcePath));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public static bool ConnectToSource(UsdShadeInput input, UsdShadeConnectableAPI source, TfToken sourceName)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ConnectToSource__SWIG_5(UsdShadeInput.getCPtr(input), UsdShadeConnectableAPI.getCPtr(source), TfToken.getCPtr(sourceName));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public static bool CanConnect(UsdShadeInput input, UsdShadeOutput sourceOutput)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_CanConnect__SWIG_2(UsdShadeInput.getCPtr(input), UsdShadeOutput.getCPtr(sourceOutput));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public bool ConnectToSource(UsdShadeInput sourceInput)
        {
            bool ret = UsdCsPINVOKE.UsdShadeInput_ConnectToSource__SWIG_4(swigCPtr, UsdShadeInput.getCPtr(sourceInput));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public static bool ClearSource(UsdShadeInput input)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ClearSource__SWIG_1(UsdShadeInput.getCPtr(input));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public bool SetInterfaceInputConsumer(UsdShadeInput interfaceInput, UsdShadeInput consumer)
        {
            bool ret = UsdCsPINVOKE.UsdRiMaterialAPI_SetInterfaceInputConsumer(swigCPtr, UsdShadeInput.getCPtr(interfaceInput), UsdShadeInput.getCPtr(consumer));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static bool IsSourceConnectionFromBaseMaterial(UsdShadeInput input)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_IsSourceConnectionFromBaseMaterial__SWIG_1(UsdShadeInput.getCPtr(input));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static bool GetRawConnectedSourcePaths(UsdShadeInput input, SdfPathVector sourcePaths)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetRawConnectedSourcePaths__SWIG_1(UsdShadeInput.getCPtr(input), SdfPathVector.getCPtr(sourcePaths));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static bool GetConnectedSource(UsdShadeInput input, UsdShadeConnectableAPI source, TfToken sourceName, out UsdShadeAttributeType sourceType)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetConnectedSource__SWIG_1(UsdShadeInput.getCPtr(input), UsdShadeConnectableAPI.getCPtr(source), TfToken.getCPtr(sourceName), out sourceType);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 10
0
        public static bool ConnectToSource(UsdShadeOutput output, UsdShadeInput sourceInput)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ConnectToSource__SWIG_14(UsdShadeOutput.getCPtr(output), UsdShadeInput.getCPtr(sourceInput));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }