コード例 #1
0
 public UsdSkelSkinningQuery(UsdPrim prim, VtTokenArray skelJointOrder, VtTokenArray blendShapeOrder, UsdAttribute jointIndices, UsdAttribute jointWeights, UsdAttribute geomBindTransform, UsdAttribute joints, UsdAttribute blendShapes, UsdRelationship blendShapeTargets) : this(UsdCsPINVOKE.new_UsdSkelSkinningQuery__SWIG_1(UsdPrim.getCPtr(prim), VtTokenArray.getCPtr(skelJointOrder), VtTokenArray.getCPtr(blendShapeOrder), UsdAttribute.getCPtr(jointIndices), UsdAttribute.getCPtr(jointWeights), UsdAttribute.getCPtr(geomBindTransform), UsdAttribute.getCPtr(joints), UsdAttribute.getCPtr(blendShapes), UsdRelationship.getCPtr(blendShapeTargets)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        public UsdShadeMaterial ComputeBoundMaterial(TfToken materialPurpose, UsdRelationship bindingRel)
        {
            UsdShadeMaterial ret = new UsdShadeMaterial(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_ComputeBoundMaterial__SWIG_0(swigCPtr, TfToken.getCPtr(materialPurpose), UsdRelationship.getCPtr(bindingRel)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
        public static TfToken GetMaterialBindingStrength(UsdRelationship bindingRel)
        {
            TfToken ret = new TfToken(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetMaterialBindingStrength(UsdRelationship.getCPtr(bindingRel)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
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);
        }
コード例 #5
0
 public CollectionBinding(UsdRelationship collBindingRel) : this(UsdCsPINVOKE.new_UsdShadeMaterialBindingAPI_CollectionBinding__SWIG_1(UsdRelationship.getCPtr(collBindingRel)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }