24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXPARTICLECLOTHAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXPARTICLECLOTHAPI_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
65 static const UsdSchemaType
schemaType = UsdSchemaType::SingleApplyAPI;
92 static const TfTokenVector &
106 Get(
const UsdStagePtr &stage,
const SdfPath &path);
125 Apply(
const UsdPrim &prim);
136 friend class UsdSchemaRegistry;
138 static const TfType &_GetStaticTfType();
140 static bool _IsTypedSchema();
144 const TfType &_GetTfType()
const override;
188 UsdAttribute
CreateRestPointsAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
309 UsdAttribute
CreatePressureAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
324 PXR_NAMESPACE_CLOSE_SCOPE
PHYSXSCHEMA_API UsdAttribute GetSpringDampingsAttr() const
Coefficients for linear-distance dampers between a pair of particles as defined by index pairs in spr...
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
PHYSXSCHEMA_API UsdAttribute GetSpringRestLengthsAttr() const
Spring rest lengths corresponding to spring index pairs.
WARNING: This is a draft API; the design is not fixed and may change in the future.
PHYSXSCHEMA_API UsdAttribute CreateRestPointsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRestPointsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetSpringStiffnessesAttr() const
Stiffness values for linear-distance springs between a pair of particles as defined by index pairs in...
WARNING: This is a draft API; the design is not fixed and may change in the future.
PHYSXSCHEMA_API UsdAttribute CreatePressureAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetPressureAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
static PHYSXSCHEMA_API PhysxSchemaPhysxParticleClothAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
PHYSXSCHEMA_API UsdAttribute CreateSelfCollisionFilterAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSelfCollisionFilterAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetSelfCollisionFilterAttr() const
Whether the simulation should filter particle-particle collisions based on their rest position distan...
PHYSXSCHEMA_API UsdAttribute GetRestPointsAttr() const
Particle positions in cloth rest configuration.
PHYSXSCHEMA_API UsdAttribute CreateSpringRestLengthsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSpringRestLengthsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateSpringDampingsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSpringDampingsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
PHYSXSCHEMA_API UsdAttribute GetSpringIndicesAttr() const
List of index pairs describing which points are connected by spring constraints.
PhysxSchemaPhysxParticleClothAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxParticleClothAPI on the prim held by schemaObj .
static PHYSXSCHEMA_API PhysxSchemaPhysxParticleClothAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxParticleClothAPI holding the prim adhering to this schema at path on stage...
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxParticleClothAPI()
Destructor.
static PHYSXSCHEMA_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
PHYSXSCHEMA_API UsdAttribute CreateSpringIndicesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSpringIndicesAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PhysxSchemaPhysxParticleClothAPI(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxParticleClothAPI on UsdPrim prim .
PHYSXSCHEMA_API UsdAttribute GetPressureAttr() const
Pressure: If > 0, a particle cloth has an additional pressure constraint that provides inflatable (i...
PHYSXSCHEMA_API UsdAttribute CreateSpringStiffnessesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSpringStiffnessesAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...