Пример #1
0
        public UsdShadeMaterialBindingAPICollectionBindingVector GetCollectionBindings(TfToken materialPurpose)
        {
            UsdShadeMaterialBindingAPICollectionBindingVector ret = new UsdShadeMaterialBindingAPICollectionBindingVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetCollectionBindings__SWIG_0(swigCPtr, TfToken.getCPtr(materialPurpose)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #2
0
        public TfToken ComputeVisibility(TfToken parentVisibility)
        {
            TfToken ret = new TfToken(UsdCsPINVOKE.UsdGeomImageable_ComputeVisibility__SWIG_3(swigCPtr, TfToken.getCPtr(parentVisibility)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        public GfBBox3d ComputeUntransformedBound(UsdTimeCode time, TfToken purpose1)
        {
            GfBBox3d ret = new GfBBox3d(UsdCsPINVOKE.UsdGeomImageable_ComputeUntransformedBound__SWIG_3(swigCPtr, UsdTimeCode.getCPtr(time), TfToken.getCPtr(purpose1)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
        public UsdRelationship CreateRelationship(TfToken relName, bool custom)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdPrim_CreateRelationship__SWIG_0(swigCPtr, TfToken.getCPtr(relName), custom), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public UsdGeomPrimvar CreatePrimvar(TfToken attrName, SdfValueTypeName typeName)
        {
            UsdGeomPrimvar ret = new UsdGeomPrimvar(UsdCsPINVOKE.UsdGeomImageable_CreatePrimvar__SWIG_2(swigCPtr, TfToken.getCPtr(attrName), SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
        public VtValue GetFallbackForInfo(TfToken key)
        {
            VtValue ret = new VtValue(UsdCsPINVOKE.SdfSpecHandle_GetFallbackForInfo(swigCPtr, TfToken.getCPtr(key)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #7
0
        public UsdAttribute CreateAttribute(TfToken name, SdfValueTypeName typeName)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdPrim_CreateAttribute__SWIG_3(swigCPtr, TfToken.getCPtr(name), SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #8
0
        public bool AddPrimToBindingCollection(UsdPrim prim, TfToken bindingName, TfToken materialPurpose)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_AddPrimToBindingCollection(swigCPtr, UsdPrim.getCPtr(prim), TfToken.getCPtr(bindingName), TfToken.getCPtr(materialPurpose));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #9
0
        public UsdShadeMaterial ComputeBoundMaterial(TfToken materialPurpose)
        {
            UsdShadeMaterial ret = new UsdShadeMaterial(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_ComputeBoundMaterial__SWIG_1(swigCPtr, TfToken.getCPtr(materialPurpose)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #10
0
        public bool UnbindDirectBinding(TfToken materialPurpose)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_UnbindDirectBinding__SWIG_0(swigCPtr, TfToken.getCPtr(materialPurpose));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #11
0
        public bool UnbindCollectionBinding(TfToken bindingName)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_UnbindCollectionBinding__SWIG_1(swigCPtr, TfToken.getCPtr(bindingName));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #12
0
        public bool Bind(UsdCollectionAPI collection, UsdShadeMaterial material, TfToken bindingName)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_Bind__SWIG_5(swigCPtr, UsdCollectionAPI.getCPtr(collection), UsdShadeMaterial.getCPtr(material), TfToken.getCPtr(bindingName));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #13
0
        public bool Bind(UsdShadeMaterial material, TfToken bindingStrength)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_Bind__SWIG_1(swigCPtr, UsdShadeMaterial.getCPtr(material), TfToken.getCPtr(bindingStrength));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #14
0
        public static bool SetMaterialBindingStrength(UsdRelationship bindingRel, TfToken bindingStrength)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_SetMaterialBindingStrength(UsdRelationship.getCPtr(bindingRel), TfToken.getCPtr(bindingStrength));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #15
0
 public void SetInfoDictionaryValue(TfToken dictionaryKey, TfToken entryKey, VtValue value)
 {
     UsdCsPINVOKE.SdfSpecHandle_SetInfoDictionaryValue(swigCPtr, TfToken.getCPtr(dictionaryKey), TfToken.getCPtr(entryKey), VtValue.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #16
0
        public static UsdShadeMaterialVector ComputeBoundMaterials(UsdPrimVector prims, TfToken materialPurpose)
        {
            UsdShadeMaterialVector ret = new UsdShadeMaterialVector(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_ComputeBoundMaterials__SWIG_1(UsdPrimVector.getCPtr(prims), TfToken.getCPtr(materialPurpose)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #17
0
        public TfType GetTypeForInfo(TfToken key)
        {
            TfType ret = new TfType(UsdCsPINVOKE.SdfSpecHandle_GetTypeForInfo(swigCPtr, TfToken.getCPtr(key)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #18
0
        public UsdGeomSubset CreateMaterialBindSubset(TfToken subsetName, VtIntArray indices)
        {
            UsdGeomSubset ret = new UsdGeomSubset(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_CreateMaterialBindSubset__SWIG_1(swigCPtr, TfToken.getCPtr(subsetName), VtIntArray.getCPtr(indices)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #19
0
        public UsdProperty GetProperty(TfToken propName)
        {
            UsdProperty ret = new UsdProperty(UsdCsPINVOKE.UsdPrim_GetProperty(swigCPtr, TfToken.getCPtr(propName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #20
0
        public bool SetMaterialBindSubsetsFamilyType(TfToken familyType)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_SetMaterialBindSubsetsFamilyType(swigCPtr, TfToken.getCPtr(familyType));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #21
0
        public UsdAttribute GetAttribute(TfToken attrName)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdPrim_GetAttribute(swigCPtr, TfToken.getCPtr(attrName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #22
0
        public bool SetMetadataByDictKey(TfToken key, TfToken keyPath, VtValue value)
        {
            bool ret = UsdCsPINVOKE.UsdObject_SetMetadataByDictKey(swigCPtr, TfToken.getCPtr(key), TfToken.getCPtr(keyPath), VtValue.getCPtr(value));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #23
0
        public UsdRelationship GetRelationship(TfToken relName)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdPrim_GetRelationship(swigCPtr, TfToken.getCPtr(relName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #24
0
        public bool HasAuthoredMetadataDictKey(TfToken key, TfToken keyPath)
        {
            bool ret = UsdCsPINVOKE.UsdObject_HasAuthoredMetadataDictKey(swigCPtr, TfToken.getCPtr(key), TfToken.getCPtr(keyPath));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #25
0
        public UsdGeomPrimvar GetPrimvar(TfToken name)
        {
            UsdGeomPrimvar ret = new UsdGeomPrimvar(UsdCsPINVOKE.UsdGeomImageable_GetPrimvar(swigCPtr, TfToken.getCPtr(name)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #26
0
        public VtValue GetMetadataByDictKey(TfToken key, TfToken keyPath)
        {
            VtValue ret = new VtValue(UsdCsPINVOKE.UsdObject_GetMetadataByDictKey(swigCPtr, TfToken.getCPtr(key), TfToken.getCPtr(keyPath)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #27
0
 public PurposeInfo(TfToken purpose_, bool isInheritable_) : this(UsdCsPINVOKE.new_UsdGeomImageable_PurposeInfo__SWIG_1(TfToken.getCPtr(purpose_), isInheritable_), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #28
0
        public TfToken GetMetaDataDisplayGroup(TfToken key)
        {
            TfToken ret = new TfToken(UsdCsPINVOKE.SdfSpecHandle_GetMetaDataDisplayGroup(swigCPtr, TfToken.getCPtr(key)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #29
0
        public UsdShadeOutput CreateOutput(TfToken name, SdfValueTypeName typeName)
        {
            UsdShadeOutput ret = new UsdShadeOutput(UsdCsPINVOKE.UsdShadeNodeGraph_CreateOutput(swigCPtr, TfToken.getCPtr(name), SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #30
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);
 }