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 UsdSchemaType schemaType = UsdSchemaType::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();
97 static const TfTokenVector &
98 GetSchemaAttributeNames(
99 bool includeInherited=
true,
const TfToken instanceName=TfToken());
102 TfToken GetName()
const {
103 return _GetInstanceName();
121 static PhysxSchemaPhysxLimitAPI
122 Get(
const UsdStagePtr &stage,
const SdfPath &path);
127 static PhysxSchemaPhysxLimitAPI
128 Get(
const UsdPrim &prim,
const TfToken &name);
134 IsSchemaPropertyBaseName(
const TfToken &baseName);
141 IsPhysxLimitAPIPath(
const SdfPath &path, TfToken *name);
162 static PhysxSchemaPhysxLimitAPI
163 Apply(
const UsdPrim &prim,
const TfToken &name);
170 UsdSchemaType _GetSchemaType()
const override;
174 friend class UsdSchemaRegistry;
176 static const TfType &_GetStaticTfType();
178 static bool _IsTypedSchema();
182 const TfType &_GetTfType()
const override;
198 UsdAttribute GetRestitutionAttr()
const;
206 UsdAttribute CreateRestitutionAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
223 UsdAttribute GetBounceThresholdAttr()
const;
231 UsdAttribute CreateBounceThresholdAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
248 UsdAttribute GetStiffnessAttr()
const;
256 UsdAttribute CreateStiffnessAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
273 UsdAttribute GetDampingAttr()
const;
281 UsdAttribute CreateDampingAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
300 UsdAttribute GetContactDistanceAttr()
const;
308 UsdAttribute CreateContactDistanceAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
323 PXR_NAMESPACE_CLOSE_SCOPE