Ejemplo n.º 1
0
 public void SetRange(int index, UsdPrimVector values)
 {
     UsdCsPINVOKE.UsdPrimVector_SetRange(swigCPtr, index, UsdPrimVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
        public static bool CreateMasterMaterialVariant(UsdPrim masterPrim, UsdPrimVector MaterialPrims)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterial_CreateMasterMaterialVariant__SWIG_1(UsdPrim.getCPtr(masterPrim), UsdPrimVector.getCPtr(MaterialPrims));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static UsdShadeMaterialVector ComputeBoundMaterials(UsdPrimVector prims)
        {
            UsdShadeMaterialVector ret = new UsdShadeMaterialVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_ComputeBoundMaterials__SWIG_2(UsdPrimVector.getCPtr(prims)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 4
0
 public UsdPrimVector(UsdPrimVector other) : this(UsdCsPINVOKE.new_UsdPrimVector__SWIG_1(UsdPrimVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static UsdShadeMaterialVector ComputeBoundMaterials(UsdPrimVector prims, TfToken materialPurpose, UsdRelationshipVector bindingRels)
        {
            UsdShadeMaterialVector ret = new UsdShadeMaterialVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_ComputeBoundMaterials__SWIG_0(UsdPrimVector.getCPtr(prims), TfToken.getCPtr(materialPurpose), UsdRelationshipVector.getCPtr(bindingRels)), true);

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