usdrt::PhysxSchemaPhysxArticulationForceSensorAPI
Defined in usdrt/scenegraph/usd/physxSchema/physxArticulationForceSensorAPI.h
Functions
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::Apply: Applies this single-apply API schema to the given
prim
. This information is stored by adding "PhysxArticulationForceSensorAPI" to the token-valued, listOp metadata apiSchemas on the prim.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::CreateConstraintSolverForcesEnabledAttr: See GetConstraintSolverForcesEnabledAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::CreateForceAttr: See GetForceAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::CreateForwardDynamicsForcesEnabledAttr: See GetForwardDynamicsForcesEnabledAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::CreateSensorEnabledAttr: See GetSensorEnabledAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::CreateTorqueAttr: See GetTorqueAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::CreateWorldFrameEnabledAttr: See GetWorldFrameEnabledAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::GetConstraintSolverForcesEnabledAttr: Boolean defining whether to receive forces from constraint solver.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::GetForceAttr: Spatial force in the local frame of the sensor computed by the simulation. Units: force.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::GetForwardDynamicsForcesEnabledAttr: Boolean defining whether to receive forces from forward dynamics.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPath: Return the SdfPath to this schema object's held prim.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPrim: Return this schema object's held prim.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::GetSensorEnabledAttr: Boolean defining whether sensor is enabled.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::GetTorqueAttr: Spatial torque in the local frame of the sensor computed by the simulation. Units: torque.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::GetWorldFrameEnabledAttr: Boolean defining whether reported force is in world frame.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::PhysxSchemaPhysxArticulationForceSensorAPI: Construct a PhysxSchemaPhysxArticulationForceSensorAPI on UsdPrim
prim
. Equivalent to PhysxSchemaPhysxArticulationForceSensorAPI::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::PhysxSchemaPhysxArticulationForceSensorAPI: Construct a PhysxSchemaPhysxArticulationForceSensorAPI on the prim held by
schemaObj
. Should be preferred over PhysxSchemaPhysxArticulationForceSensorAPI (schemaObj.GetPrim()), as it preserves SchemaBase state.usdrt::DestructionSchemaDestructibleBaseAPI::_GetInstanceName: Returns the instance name of the API schema object belonging to a multiple-apply API schema.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::operator bool: Boolean operator.
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::~PhysxSchemaPhysxArticulationForceSensorAPI: Destructor.
Variables
usdrt::PhysxSchemaPhysxArticulationForceSensorAPI::schemaType: Compile time constant representing what kind of schema this class is.
-
class PhysxSchemaPhysxArticulationForceSensorAPI : public usdrt::UsdAPISchemaBase
WARNING: THIS API IS DEPRECATED AND WILL BE REMOVED IN A FUTURE RELEASE. PhysX articulation sensor to measure spatial force. Articulation sensor API must be applied to a UsdGeom.Xformable in order to get a transformation information. The UsdGeom.Xformable must be created under the articulated rigid body in order to compute a relative transformation between the body and the sensor.
Public Functions
-
inline explicit PhysxSchemaPhysxArticulationForceSensorAPI(const UsdPrim &prim = UsdPrim())
Construct a PhysxSchemaPhysxArticulationForceSensorAPI on UsdPrim
prim
. Equivalent to PhysxSchemaPhysxArticulationForceSensorAPI::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.
-
inline explicit PhysxSchemaPhysxArticulationForceSensorAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxArticulationForceSensorAPI on the prim held by
schemaObj
. Should be preferred over PhysxSchemaPhysxArticulationForceSensorAPI(schemaObj.GetPrim()), as it preserves SchemaBase state.
-
inline virtual ~PhysxSchemaPhysxArticulationForceSensorAPI()
Destructor.
-
inline operator bool() const
Boolean operator.
- Returns
Return true if the contained prim is has this api schema applied using
HasAPI
, and false otherwise.
-
inline UsdAttribute GetForceAttr() const
Spatial force in the local frame of the sensor computed by the simulation. Units: force.
Declaration
vector3f physxArticulationForceSensor:force = (0, 0, 0)
C++ Type
GfVec3f
Usd Type
SdfValueTypeNames->Vector3f
-
inline UsdAttribute CreateForceAttr() const
See GetForceAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetTorqueAttr() const
Spatial torque in the local frame of the sensor computed by the simulation. Units: torque.
Declaration
vector3f physxArticulationForceSensor:torque = (0, 0, 0)
C++ Type
GfVec3f
Usd Type
SdfValueTypeNames->Vector3f
-
inline UsdAttribute CreateTorqueAttr() const
See GetTorqueAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetSensorEnabledAttr() const
Boolean defining whether sensor is enabled.
Declaration
bool physxArticulationForceSensor:sensorEnabled = 1
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateSensorEnabledAttr() const
See GetSensorEnabledAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetWorldFrameEnabledAttr() const
Boolean defining whether reported force is in world frame.
Declaration
bool physxArticulationForceSensor:worldFrameEnabled = 0
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateWorldFrameEnabledAttr() const
See GetWorldFrameEnabledAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetForwardDynamicsForcesEnabledAttr() const
Boolean defining whether to receive forces from forward dynamics.
Declaration
bool physxArticulationForceSensor:forwardDynamicsForcesEnabled = 1
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateForwardDynamicsForcesEnabledAttr() const
See GetForwardDynamicsForcesEnabledAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetConstraintSolverForcesEnabledAttr() const
Boolean defining whether to receive forces from constraint solver.
Declaration
bool physxArticulationForceSensor:constraintSolverForcesEnabled = 1
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateConstraintSolverForcesEnabledAttr() const
See GetConstraintSolverForcesEnabledAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
Public Static Functions
-
static inline PhysxSchemaPhysxArticulationForceSensorAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given
prim
. This information is stored by adding “PhysxArticulationForceSensorAPI” to the token-valued, listOp metadata apiSchemas on the prim.See also
UsdPrim::GetAppliedSchemas()
See also
UsdPrim::HasAPI()
See also
UsdPrim::ApplyAPI()
See also
UsdPrim::RemoveAPI()
- Returns
A valid PhysxSchemaPhysxArticulationForceSensorAPI object is returned upon success. An invalid (or empty) PhysxSchemaPhysxArticulationForceSensorAPI object is returned upon failure. See UsdPrim::ApplyAPI() for conditions resulting in failure.
Public Static Attributes
-
static const UsdSchemaType schemaType = UsdSchemaType::SingleApplyAPI
Compile time constant representing what kind of schema this class is.
See also
UsdSchemaType
-
inline explicit PhysxSchemaPhysxArticulationForceSensorAPI(const UsdPrim &prim = UsdPrim())