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); }
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); }
public static UsdCollectionAPI GetCollection(UsdPrim prim, TfToken name) { UsdCollectionAPI ret = new UsdCollectionAPI(UsdCsPINVOKE.UsdCollectionAPI_GetCollection__SWIG_1(UsdPrim.getCPtr(prim), TfToken.getCPtr(name)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdCollectionAPI GetCollection(UsdStageWeakPtr stage, SdfPath collectionPath) { UsdCollectionAPI ret = new UsdCollectionAPI(UsdCsPINVOKE.UsdCollectionAPI_GetCollection__SWIG_0(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(collectionPath)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UsdCollectionAPI GetCollection() { UsdCollectionAPI ret = new UsdCollectionAPI(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_CollectionBinding_GetCollection(swigCPtr), true); return(ret); }
public UsdCollectionAPI GetShadowLinkCollectionAPI() { UsdCollectionAPI ret = new UsdCollectionAPI(UsdCsPINVOKE.UsdLuxLight_GetShadowLinkCollectionAPI(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdCollectionAPI obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }