コード例 #1
0
 public UsdShadeMaterialBindingAPI.DirectBinding GetDirectBinding(TfToken materialPurpose)
 {
     UsdShadeMaterialBindingAPI.DirectBinding ret = new UsdShadeMaterialBindingAPI.DirectBinding(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetDirectBinding__SWIG_0(swigCPtr, TfToken.getCPtr(materialPurpose)), true);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
コード例 #2
0
 public UsdShadeMaterialBindingAPI.DirectBinding GetDirectBinding()
 {
     UsdShadeMaterialBindingAPI.DirectBinding ret = new UsdShadeMaterialBindingAPI.DirectBinding(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetDirectBinding__SWIG_1(swigCPtr), true);
     return(ret);
 }