コード例 #1
0
        public bool Bind(UsdCollectionAPI collection, UsdShadeMaterial material)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_Bind__SWIG_6(swigCPtr, UsdCollectionAPI.getCPtr(collection), UsdShadeMaterial.getCPtr(material));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
        public bool Bind(UsdCollectionAPI collection, UsdShadeMaterial material, TfToken bindingName, TfToken bindingStrength)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_Bind__SWIG_4(swigCPtr, UsdCollectionAPI.getCPtr(collection), UsdShadeMaterial.getCPtr(material), TfToken.getCPtr(bindingName), TfToken.getCPtr(bindingStrength));

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