24 #ifndef USDPHYSICS_GENERATED_RIGIDBODYAPI_H
25 #define USDPHYSICS_GENERATED_RIGIDBODYAPI_H
163 static const TfType &_GetStaticTfType();
165 static bool _IsTypedSchema();
169 const TfType &_GetTfType()
const override;
USDPHYSICS_API UsdAttribute CreateVelocityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
std::function< MassInformationFnSig > MassInformationFn
USDPHYSICS_API UsdAttribute GetVelocityAttr() const
static USDPHYSICS_API bool CanApply(const UsdPrim &prim, std::string *whyNot=nullptr)
USDPHYSICS_API UsdAttribute CreateAngularVelocityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
GLsizei const GLchar *const * string
USDPHYSICS_API UsdRelationship CreateSimulationOwnerRel() const
GLsizei const GLchar *const * path
USDPHYSICS_API UsdAttribute GetAngularVelocityAttr() const
USDPHYSICS_API UsdAttribute CreateRigidBodyEnabledAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
USDPHYSICS_API UsdAttribute GetRigidBodyEnabledAttr() const
GA_API const UT_StringHolder com
static const UsdSchemaKind schemaKind
USDPHYSICS_API float ComputeMassProperties(GfVec3f *diagonalInertia, GfVec3f *com, GfQuatf *principalAxes, const MassInformationFn &massInfoFn) const
virtual USDPHYSICS_API ~UsdPhysicsRigidBodyAPI()
Destructor.
MassInformation MassInformationFnSig(const UsdPrim &)
Mass information function signature, for given UsdPrim gather MassInformation.
UsdPhysicsRigidBodyAPI(const UsdSchemaBase &schemaObj)
std::vector< TfToken > TfTokenVector
Convenience types.
USDPHYSICS_API UsdRelationship GetSimulationOwnerRel() const
Mass information for a collision, used in ComputeMassProperties MassInformationFn callback...
USDPHYSICS_API UsdAttribute CreateKinematicEnabledAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USDPHYSICS_API UsdAttribute GetKinematicEnabledAttr() const
#define PXR_NAMESPACE_CLOSE_SCOPE
USDPHYSICS_API UsdSchemaKind _GetSchemaKind() const override
static USDPHYSICS_API UsdPhysicsRigidBodyAPI Get(const UsdStagePtr &stage, const SdfPath &path)
UsdPhysicsRigidBodyAPI(const UsdPrim &prim=UsdPrim())
USDPHYSICS_API UsdAttribute GetStartsAsleepAttr() const
USDPHYSICS_API UsdAttribute CreateStartsAsleepAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
static USDPHYSICS_API UsdPhysicsRigidBodyAPI Apply(const UsdPrim &prim)
static USDPHYSICS_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)