24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXLIMITAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXLIMITAPI_H
31 #include "pxr/usd/usd/apiSchemaBase.h"
32 #include "pxr/usd/usd/prim.h"
33 #include "pxr/usd/usd/stage.h"
36 #include "pxr/base/vt/value.h"
38 #include "pxr/base/gf/vec3d.h"
39 #include "pxr/base/gf/vec3f.h"
40 #include "pxr/base/gf/matrix4d.h"
42 #include "pxr/base/tf/token.h"
43 #include "pxr/base/tf/type.h"
45 PXR_NAMESPACE_OPEN_SCOPE
56 class PhysxSchemaPhysxLimitAPI :
public UsdAPISchemaBase
62 static const UsdSchemaKind schemaKind = UsdSchemaKind::MultipleApplyAPI;
73 explicit PhysxSchemaPhysxLimitAPI(
74 const UsdPrim& prim=UsdPrim(),
const TfToken &name=TfToken())
75 : UsdAPISchemaBase(prim, name)
82 explicit PhysxSchemaPhysxLimitAPI(
83 const UsdSchemaBase& schemaObj,
const TfToken &name)
84 : UsdAPISchemaBase(schemaObj, name)
89 virtual ~PhysxSchemaPhysxLimitAPI();
95 static const TfTokenVector &
96 GetSchemaAttributeNames(
bool includeInherited=
true);
105 GetSchemaAttributeNames(
bool includeInherited,
const TfToken &instanceName);
108 TfToken GetName()
const {
109 return _GetInstanceName();
127 static PhysxSchemaPhysxLimitAPI
128 Get(
const UsdStagePtr &stage,
const SdfPath &path);
133 static PhysxSchemaPhysxLimitAPI
134 Get(
const UsdPrim &prim,
const TfToken &name);
139 static std::vector<PhysxSchemaPhysxLimitAPI>
140 GetAll(
const UsdPrim &prim);
146 IsSchemaPropertyBaseName(
const TfToken &baseName);
153 IsPhysxLimitAPIPath(
const SdfPath &path, TfToken *name);
173 CanApply(
const UsdPrim &prim,
const TfToken &name,
174 std::string *whyNot=
nullptr);
196 static PhysxSchemaPhysxLimitAPI
197 Apply(
const UsdPrim &prim,
const TfToken &name);
204 UsdSchemaKind _GetSchemaKind()
const override;
208 friend class UsdSchemaRegistry;
210 static const TfType &_GetStaticTfType();
212 static bool _IsTypedSchema();
216 const TfType &_GetTfType()
const override;
232 UsdAttribute GetRestitutionAttr()
const;
240 UsdAttribute CreateRestitutionAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
257 UsdAttribute GetBounceThresholdAttr()
const;
265 UsdAttribute CreateBounceThresholdAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
282 UsdAttribute GetStiffnessAttr()
const;
290 UsdAttribute CreateStiffnessAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
307 UsdAttribute GetDampingAttr()
const;
315 UsdAttribute CreateDampingAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
334 UsdAttribute GetContactDistanceAttr()
const;
342 UsdAttribute CreateContactDistanceAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
357 PXR_NAMESPACE_CLOSE_SCOPE