Update USD schema formatting

PiperOrigin-RevId: 800018484
Change-Id: I7677cd099415af1271c7475d80a660653199b984
This commit is contained in:
Yuval Tassa
2025-08-27 07:01:58 -07:00
committed by Copybara-Service
parent ed6fa7fe09
commit 643dc5bf4f
18 changed files with 400 additions and 400 deletions
@@ -59,13 +59,13 @@ class MjcPhysicsActuator : public UsdTyped {
/// Equivalent to MjcPhysicsActuator::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsActuator(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsActuator(const UsdPrim& prim = UsdPrim())
: UsdTyped(prim) {}
/// Construct a MjcPhysicsActuator on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsActuator(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsActuator(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsActuator(const UsdSchemaBase& schemaObj)
: UsdTyped(schemaObj) {}
/// Destructor.
@@ -76,7 +76,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsActuator holding the prim adhering to this
@@ -89,7 +89,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsActuator Get(const UsdStagePtr &stage, const SdfPath &path);
static MjcPhysicsActuator Get(const UsdStagePtr& stage, const SdfPath& path);
/// Attempt to ensure a \a UsdPrim adhering to this schema at \p path
/// is defined (according to UsdPrim::IsDefined()) on this stage.
@@ -114,8 +114,8 @@ class MjcPhysicsActuator : public UsdTyped {
/// the opinion at the current EditTarget.
///
MJCPHYSICS_API
static MjcPhysicsActuator Define(const UsdStagePtr &stage,
const SdfPath &path);
static MjcPhysicsActuator Define(const UsdStagePtr& stage,
const SdfPath& path);
protected:
/// Returns the kind of schema this class belongs to.
@@ -128,13 +128,13 @@ class MjcPhysicsActuator : public UsdTyped {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -157,7 +157,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateGroupAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateGroupAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -187,7 +187,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcCtrlLimitedAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcCtrlLimitedAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -217,7 +217,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcForceLimitedAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -247,7 +247,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActLimitedAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcActLimitedAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -274,7 +274,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcCtrlRangeMinAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -301,7 +301,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcCtrlRangeMaxAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -328,7 +328,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcForceRangeMinAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -355,7 +355,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcForceRangeMaxAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -382,7 +382,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActRangeMinAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcActRangeMinAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -409,7 +409,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActRangeMaxAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcActRangeMaxAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -434,7 +434,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcLengthRangeMinAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -459,7 +459,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcLengthRangeMaxAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -490,7 +490,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcGearAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcGearAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -516,7 +516,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcCrankLengthAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcCrankLengthAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -543,7 +543,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcJointInParentAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -571,7 +571,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActDimAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcActDimAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -598,7 +598,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcDynTypeAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcDynTypeAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -624,7 +624,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcGainTypeAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcGainTypeAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -650,7 +650,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcBiasTypeAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcBiasTypeAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -679,7 +679,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcDynPrmAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcDynPrmAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -707,7 +707,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcGainPrmAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcGainPrmAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -734,7 +734,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcBiasPrmAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcBiasPrmAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -760,7 +760,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActEarlyAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcActEarlyAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -794,7 +794,7 @@ class MjcPhysicsActuator : public UsdTyped {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcInheritRangeAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -53,13 +53,13 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// Equivalent to MjcPhysicsCollisionAPI::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsCollisionAPI(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsCollisionAPI(const UsdPrim& prim = UsdPrim())
: UsdAPISchemaBase(prim) {}
/// Construct a MjcPhysicsCollisionAPI on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsCollisionAPI(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsCollisionAPI(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsCollisionAPI(const UsdSchemaBase& schemaObj)
: UsdAPISchemaBase(schemaObj) {}
/// Destructor.
@@ -70,7 +70,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsCollisionAPI holding the prim adhering to this
@@ -83,8 +83,8 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsCollisionAPI Get(const UsdStagePtr &stage,
const SdfPath &path);
static MjcPhysicsCollisionAPI Get(const UsdStagePtr& stage,
const SdfPath& path);
/// Returns true if this <b>single-apply</b> API schema can be applied to
/// the given \p prim. If this schema can not be a applied to the prim,
@@ -103,7 +103,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static bool CanApply(const UsdPrim &prim, std::string *whyNot = nullptr);
static bool CanApply(const UsdPrim& prim, std::string* whyNot = nullptr);
/// Applies this <b>single-apply</b> API schema to the given \p prim.
/// This information is stored by adding "MjcCollisionAPI" to the
@@ -121,7 +121,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static MjcPhysicsCollisionAPI Apply(const UsdPrim &prim);
static MjcPhysicsCollisionAPI Apply(const UsdPrim& prim);
protected:
/// Returns the kind of schema this class belongs to.
@@ -134,13 +134,13 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -163,7 +163,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateGroupAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateGroupAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -188,7 +188,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateShellInertiaAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateShellInertiaAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -213,7 +213,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreatePriorityAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreatePriorityAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -239,7 +239,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateConDimAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateConDimAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -264,7 +264,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSolMixAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSolMixAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -289,7 +289,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSolRefAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSolRefAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -314,7 +314,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSolImpAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSolImpAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -339,7 +339,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMarginAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMarginAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -367,7 +367,7 @@ class MjcPhysicsCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateGapAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateGapAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -53,13 +53,13 @@ class MjcPhysicsImageableAPI : public UsdAPISchemaBase {
/// Equivalent to MjcPhysicsImageableAPI::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsImageableAPI(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsImageableAPI(const UsdPrim& prim = UsdPrim())
: UsdAPISchemaBase(prim) {}
/// Construct a MjcPhysicsImageableAPI on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsImageableAPI(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsImageableAPI(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsImageableAPI(const UsdSchemaBase& schemaObj)
: UsdAPISchemaBase(schemaObj) {}
/// Destructor.
@@ -70,7 +70,7 @@ class MjcPhysicsImageableAPI : public UsdAPISchemaBase {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsImageableAPI holding the prim adhering to this
@@ -83,8 +83,8 @@ class MjcPhysicsImageableAPI : public UsdAPISchemaBase {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsImageableAPI Get(const UsdStagePtr &stage,
const SdfPath &path);
static MjcPhysicsImageableAPI Get(const UsdStagePtr& stage,
const SdfPath& path);
/// Returns true if this <b>single-apply</b> API schema can be applied to
/// the given \p prim. If this schema can not be a applied to the prim,
@@ -103,7 +103,7 @@ class MjcPhysicsImageableAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static bool CanApply(const UsdPrim &prim, std::string *whyNot = nullptr);
static bool CanApply(const UsdPrim& prim, std::string* whyNot = nullptr);
/// Applies this <b>single-apply</b> API schema to the given \p prim.
/// This information is stored by adding "MjcImageableAPI" to the
@@ -121,7 +121,7 @@ class MjcPhysicsImageableAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static MjcPhysicsImageableAPI Apply(const UsdPrim &prim);
static MjcPhysicsImageableAPI Apply(const UsdPrim& prim);
protected:
/// Returns the kind of schema this class belongs to.
@@ -134,13 +134,13 @@ class MjcPhysicsImageableAPI : public UsdAPISchemaBase {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -163,7 +163,7 @@ class MjcPhysicsImageableAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateGroupAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateGroupAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -58,13 +58,13 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// Equivalent to MjcPhysicsJointAPI::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsJointAPI(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsJointAPI(const UsdPrim& prim = UsdPrim())
: UsdAPISchemaBase(prim) {}
/// Construct a MjcPhysicsJointAPI on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsJointAPI(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsJointAPI(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsJointAPI(const UsdSchemaBase& schemaObj)
: UsdAPISchemaBase(schemaObj) {}
/// Destructor.
@@ -75,7 +75,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsJointAPI holding the prim adhering to this
@@ -88,7 +88,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsJointAPI Get(const UsdStagePtr &stage, const SdfPath &path);
static MjcPhysicsJointAPI Get(const UsdStagePtr& stage, const SdfPath& path);
/// Returns true if this <b>single-apply</b> API schema can be applied to
/// the given \p prim. If this schema can not be a applied to the prim,
@@ -107,7 +107,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static bool CanApply(const UsdPrim &prim, std::string *whyNot = nullptr);
static bool CanApply(const UsdPrim& prim, std::string* whyNot = nullptr);
/// Applies this <b>single-apply</b> API schema to the given \p prim.
/// This information is stored by adding "MjcJointAPI" to the
@@ -125,7 +125,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static MjcPhysicsJointAPI Apply(const UsdPrim &prim);
static MjcPhysicsJointAPI Apply(const UsdPrim& prim);
protected:
/// Returns the kind of schema this class belongs to.
@@ -138,13 +138,13 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -167,7 +167,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateGroupAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateGroupAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -198,7 +198,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcSpringdamperAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -222,7 +222,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcSolreflimitAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcSolreflimitAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -246,7 +246,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcSolimplimitAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcSolimplimitAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -271,7 +271,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcSolreffrictionAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -296,7 +296,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcSolimpfrictionAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -322,7 +322,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcStiffnessAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcStiffnessAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -352,7 +352,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActuatorfrcrangeMinAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -382,7 +382,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActuatorfrcrangeMaxAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -415,7 +415,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActuatorfrclimitedAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -448,7 +448,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActuatorgravcompAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -476,7 +476,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcMarginAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcMarginAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -506,7 +506,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcRefAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcRefAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -537,7 +537,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcSpringrefAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcSpringrefAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -568,7 +568,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcArmatureAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcArmatureAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -597,7 +597,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcDampingAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcDampingAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -625,7 +625,7 @@ class MjcPhysicsJointAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcFrictionlossAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -53,13 +53,13 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// Equivalent to MjcPhysicsKeyframe::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsKeyframe(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsKeyframe(const UsdPrim& prim = UsdPrim())
: UsdTyped(prim) {}
/// Construct a MjcPhysicsKeyframe on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsKeyframe(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsKeyframe(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsKeyframe(const UsdSchemaBase& schemaObj)
: UsdTyped(schemaObj) {}
/// Destructor.
@@ -70,7 +70,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsKeyframe holding the prim adhering to this
@@ -83,7 +83,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsKeyframe Get(const UsdStagePtr &stage, const SdfPath &path);
static MjcPhysicsKeyframe Get(const UsdStagePtr& stage, const SdfPath& path);
/// Attempt to ensure a \a UsdPrim adhering to this schema at \p path
/// is defined (according to UsdPrim::IsDefined()) on this stage.
@@ -108,8 +108,8 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// the opinion at the current EditTarget.
///
MJCPHYSICS_API
static MjcPhysicsKeyframe Define(const UsdStagePtr &stage,
const SdfPath &path);
static MjcPhysicsKeyframe Define(const UsdStagePtr& stage,
const SdfPath& path);
protected:
/// Returns the kind of schema this class belongs to.
@@ -122,13 +122,13 @@ class MjcPhysicsKeyframe : public UsdTyped {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -151,7 +151,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcQposAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcQposAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -175,7 +175,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcQvelAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcQvelAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -199,7 +199,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcActAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcActAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -223,7 +223,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcCtrlAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcCtrlAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -247,7 +247,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcMposAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcMposAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -271,7 +271,7 @@ class MjcPhysicsKeyframe : public UsdTyped {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMjcMquatAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMjcMquatAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -53,13 +53,13 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
/// Equivalent to MjcPhysicsMaterialAPI::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsMaterialAPI(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsMaterialAPI(const UsdPrim& prim = UsdPrim())
: UsdAPISchemaBase(prim) {}
/// Construct a MjcPhysicsMaterialAPI on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsMaterialAPI(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsMaterialAPI(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsMaterialAPI(const UsdSchemaBase& schemaObj)
: UsdAPISchemaBase(schemaObj) {}
/// Destructor.
@@ -70,7 +70,7 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsMaterialAPI holding the prim adhering to this
@@ -83,8 +83,8 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsMaterialAPI Get(const UsdStagePtr &stage,
const SdfPath &path);
static MjcPhysicsMaterialAPI Get(const UsdStagePtr& stage,
const SdfPath& path);
/// Returns true if this <b>single-apply</b> API schema can be applied to
/// the given \p prim. If this schema can not be a applied to the prim,
@@ -103,7 +103,7 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static bool CanApply(const UsdPrim &prim, std::string *whyNot = nullptr);
static bool CanApply(const UsdPrim& prim, std::string* whyNot = nullptr);
/// Applies this <b>single-apply</b> API schema to the given \p prim.
/// This information is stored by adding "MjcMaterialAPI" to the
@@ -121,7 +121,7 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static MjcPhysicsMaterialAPI Apply(const UsdPrim &prim);
static MjcPhysicsMaterialAPI Apply(const UsdPrim& prim);
protected:
/// Returns the kind of schema this class belongs to.
@@ -134,13 +134,13 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -164,7 +164,7 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateTorsionalFrictionAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -189,7 +189,7 @@ class MjcPhysicsMaterialAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateRollingFrictionAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -58,13 +58,13 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
/// Equivalent to MjcPhysicsMeshCollisionAPI::Get(prim.GetStage(),
/// prim.GetPath()) for a \em valid \p prim, but will not immediately throw an
/// error for an invalid \p prim
explicit MjcPhysicsMeshCollisionAPI(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsMeshCollisionAPI(const UsdPrim& prim = UsdPrim())
: UsdAPISchemaBase(prim) {}
/// Construct a MjcPhysicsMeshCollisionAPI on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsMeshCollisionAPI(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsMeshCollisionAPI(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsMeshCollisionAPI(const UsdSchemaBase& schemaObj)
: UsdAPISchemaBase(schemaObj) {}
/// Destructor.
@@ -75,7 +75,7 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsMeshCollisionAPI holding the prim adhering to this
@@ -88,8 +88,8 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsMeshCollisionAPI Get(const UsdStagePtr &stage,
const SdfPath &path);
static MjcPhysicsMeshCollisionAPI Get(const UsdStagePtr& stage,
const SdfPath& path);
/// Returns true if this <b>single-apply</b> API schema can be applied to
/// the given \p prim. If this schema can not be a applied to the prim,
@@ -108,7 +108,7 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static bool CanApply(const UsdPrim &prim, std::string *whyNot = nullptr);
static bool CanApply(const UsdPrim& prim, std::string* whyNot = nullptr);
/// Applies this <b>single-apply</b> API schema to the given \p prim.
/// This information is stored by adding "MjcMeshCollisionAPI" to the
@@ -126,7 +126,7 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static MjcPhysicsMeshCollisionAPI Apply(const UsdPrim &prim);
static MjcPhysicsMeshCollisionAPI Apply(const UsdPrim& prim);
protected:
/// Returns the kind of schema this class belongs to.
@@ -139,13 +139,13 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -170,7 +170,7 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateInertiaAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateInertiaAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -195,7 +195,7 @@ class MjcPhysicsMeshCollisionAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMaxHullVertAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMaxHullVertAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -58,13 +58,13 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// Equivalent to MjcPhysicsSceneAPI::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsSceneAPI(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsSceneAPI(const UsdPrim& prim = UsdPrim())
: UsdAPISchemaBase(prim) {}
/// Construct a MjcPhysicsSceneAPI on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsSceneAPI(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsSceneAPI(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsSceneAPI(const UsdSchemaBase& schemaObj)
: UsdAPISchemaBase(schemaObj) {}
/// Destructor.
@@ -75,7 +75,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsSceneAPI holding the prim adhering to this
@@ -88,7 +88,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsSceneAPI Get(const UsdStagePtr &stage, const SdfPath &path);
static MjcPhysicsSceneAPI Get(const UsdStagePtr& stage, const SdfPath& path);
/// Returns true if this <b>single-apply</b> API schema can be applied to
/// the given \p prim. If this schema can not be a applied to the prim,
@@ -107,7 +107,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static bool CanApply(const UsdPrim &prim, std::string *whyNot = nullptr);
static bool CanApply(const UsdPrim& prim, std::string* whyNot = nullptr);
/// Applies this <b>single-apply</b> API schema to the given \p prim.
/// This information is stored by adding "MjcSceneAPI" to the
@@ -125,7 +125,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static MjcPhysicsSceneAPI Apply(const UsdPrim &prim);
static MjcPhysicsSceneAPI Apply(const UsdPrim& prim);
protected:
/// Returns the kind of schema this class belongs to.
@@ -138,13 +138,13 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -167,7 +167,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateTimestepAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateTimestepAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -192,7 +192,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateApiRateAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateApiRateAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -217,7 +217,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateImpRatioAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateImpRatioAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -241,7 +241,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateWindAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateWindAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -265,7 +265,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMagneticAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMagneticAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -289,7 +289,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateDensityAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateDensityAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -313,7 +313,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateViscosityAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateViscosityAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -338,7 +338,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateOMarginAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateOMarginAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -363,7 +363,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateOSolRefAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateOSolRefAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -388,7 +388,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateOSolImpAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateOSolImpAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -413,7 +413,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateOFrictionAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateOFrictionAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -439,7 +439,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateIntegratorAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateIntegratorAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -464,7 +464,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateConeAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateConeAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -489,7 +489,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateJacobianAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateJacobianAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -514,7 +514,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSolverAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSolverAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -538,7 +538,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateIterationsAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateIterationsAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -563,7 +563,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateToleranceAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateToleranceAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -588,7 +588,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateLSIterationsAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateLSIterationsAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -613,7 +613,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateLSToleranceAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateLSToleranceAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -638,7 +638,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateNoslipIterationsAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -663,7 +663,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateNoslipToleranceAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -687,7 +687,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateCCDIterationsAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateCCDIterationsAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -712,7 +712,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateCCDToleranceAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateCCDToleranceAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -737,7 +737,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSDFIterationsAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSDFIterationsAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -762,7 +762,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSDFInitPointsAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSDFInitPointsAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -787,7 +787,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateActuatorGroupDisableAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -811,7 +811,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateConstraintFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateConstraintFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -835,7 +835,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateEqualityFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateEqualityFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -860,7 +860,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateFrictionLossFlagAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -885,7 +885,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateLimitFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateLimitFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -910,7 +910,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateContactFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateContactFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -935,7 +935,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreatePassiveFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreatePassiveFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -960,7 +960,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateGravityFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateGravityFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -985,7 +985,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateClampCtrlFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateClampCtrlFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1010,7 +1010,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateWarmStartFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateWarmStartFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1036,7 +1036,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateFilterParentFlagAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1061,7 +1061,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateActuationFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateActuationFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1086,7 +1086,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateRefSafeFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateRefSafeFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1110,7 +1110,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSensorFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSensorFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1135,7 +1135,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMidPhaseFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMidPhaseFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1160,7 +1160,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateNativeCCDFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateNativeCCDFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1185,7 +1185,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateEulerDampFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateEulerDampFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1210,7 +1210,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateAutoResetFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateAutoResetFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1234,7 +1234,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateOverrideFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateOverrideFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1259,7 +1259,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateEnergyFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateEnergyFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1283,7 +1283,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateFwdinvFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateFwdinvFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1309,7 +1309,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateInvDiscreteFlagAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1334,7 +1334,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateMultiCCDFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateMultiCCDFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1358,7 +1358,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateIslandFlagAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateIslandFlagAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1388,7 +1388,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateAutoLimitsAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateAutoLimitsAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1413,7 +1413,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateBoundMassAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateBoundMassAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1438,7 +1438,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateBoundInertiaAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateBoundInertiaAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1468,7 +1468,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSetTotalMassAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSetTotalMassAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1494,7 +1494,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateUseThreadAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateUseThreadAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1523,7 +1523,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateBalanceInertiaAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateBalanceInertiaAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1549,7 +1549,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateAngleAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateAngleAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1576,7 +1576,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateFitAABBAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateFitAABBAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1608,7 +1608,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateFuseStaticAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateFuseStaticAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1644,7 +1644,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateInertiaFromGeomAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1671,7 +1671,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateAlignFreeAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateAlignFreeAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1704,7 +1704,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateInertiaGroupRangeMinAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1738,7 +1738,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateInertiaGroupRangeMaxAttr(
VtValue const &defaultValue = VtValue(),
VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -1762,7 +1762,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateSaveInertialAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateSaveInertialAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public:
@@ -53,13 +53,13 @@ class MjcPhysicsSiteAPI : public UsdAPISchemaBase {
/// Equivalent to MjcPhysicsSiteAPI::Get(prim.GetStage(), prim.GetPath())
/// for a \em valid \p prim, but will not immediately throw an error for
/// an invalid \p prim
explicit MjcPhysicsSiteAPI(const UsdPrim &prim = UsdPrim())
explicit MjcPhysicsSiteAPI(const UsdPrim& prim = UsdPrim())
: UsdAPISchemaBase(prim) {}
/// Construct a MjcPhysicsSiteAPI on the prim held by \p schemaObj .
/// Should be preferred over MjcPhysicsSiteAPI(schemaObj.GetPrim()),
/// as it preserves SchemaBase state.
explicit MjcPhysicsSiteAPI(const UsdSchemaBase &schemaObj)
explicit MjcPhysicsSiteAPI(const UsdSchemaBase& schemaObj)
: UsdAPISchemaBase(schemaObj) {}
/// Destructor.
@@ -70,7 +70,7 @@ class MjcPhysicsSiteAPI : public UsdAPISchemaBase {
/// class and all its ancestor classes. Does not include attributes that
/// may be authored by custom/extended methods of the schemas involved.
MJCPHYSICS_API
static const TfTokenVector &GetSchemaAttributeNames(
static const TfTokenVector& GetSchemaAttributeNames(
bool includeInherited = true);
/// Return a MjcPhysicsSiteAPI holding the prim adhering to this
@@ -83,7 +83,7 @@ class MjcPhysicsSiteAPI : public UsdAPISchemaBase {
/// \endcode
///
MJCPHYSICS_API
static MjcPhysicsSiteAPI Get(const UsdStagePtr &stage, const SdfPath &path);
static MjcPhysicsSiteAPI Get(const UsdStagePtr& stage, const SdfPath& path);
/// Returns true if this <b>single-apply</b> API schema can be applied to
/// the given \p prim. If this schema can not be a applied to the prim,
@@ -102,7 +102,7 @@ class MjcPhysicsSiteAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static bool CanApply(const UsdPrim &prim, std::string *whyNot = nullptr);
static bool CanApply(const UsdPrim& prim, std::string* whyNot = nullptr);
/// Applies this <b>single-apply</b> API schema to the given \p prim.
/// This information is stored by adding "MjcSiteAPI" to the
@@ -120,7 +120,7 @@ class MjcPhysicsSiteAPI : public UsdAPISchemaBase {
/// \sa UsdPrim::RemoveAPI()
///
MJCPHYSICS_API
static MjcPhysicsSiteAPI Apply(const UsdPrim &prim);
static MjcPhysicsSiteAPI Apply(const UsdPrim& prim);
protected:
/// Returns the kind of schema this class belongs to.
@@ -133,13 +133,13 @@ class MjcPhysicsSiteAPI : public UsdAPISchemaBase {
// needs to invoke _GetStaticTfType.
friend class UsdSchemaRegistry;
MJCPHYSICS_API
static const TfType &_GetStaticTfType();
static const TfType& _GetStaticTfType();
static bool _IsTypedSchema();
// override SchemaBase virtuals.
MJCPHYSICS_API
const TfType &_GetTfType() const override;
const TfType& _GetTfType() const override;
public:
// --------------------------------------------------------------------- //
@@ -162,7 +162,7 @@ class MjcPhysicsSiteAPI : public UsdAPISchemaBase {
/// sparsely (when it makes sense to do so) if \p writeSparsely is \c true -
/// the default for \p writeSparsely is \c false.
MJCPHYSICS_API
UsdAttribute CreateGroupAttr(VtValue const &defaultValue = VtValue(),
UsdAttribute CreateGroupAttr(VtValue const& defaultValue = VtValue(),
bool writeSparsely = false) const;
public: