usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI
Defined in usdrt/scenegraph/usd/physxSchema/physxDeformableSurfaceMaterialAPI.h
Functions
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::Apply: Applies this single-apply API schema to the given
prim
. This information is stored by adding "PhysxDeformableSurfaceMaterialAPI" to the token-valued, listOp metadata apiSchemas on the prim.usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::CreateDensityAttr: See GetDensityAttr() , 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::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::CreateDynamicFrictionAttr: See GetDynamicFrictionAttr() , 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::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::CreatePoissonsRatioAttr: See GetPoissonsRatioAttr() , 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::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::CreateThicknessAttr: See GetThicknessAttr() , 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::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::CreateYoungsModulusAttr: See GetYoungsModulusAttr() , 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::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::GetDensityAttr: Material density. If set to 0.0, the simulation determines a default value. The mass of deformable surface is computed by density * area * thickness. A density or mass set with a PhysicsMassAPI overrides the material density. Range: [0, inf) Units: mass / distance / distance / distance.
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::GetDynamicFrictionAttr: Dynamic friction coefficient. Range: [0, inf) Units: dimensionless.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPath: Return the SdfPath to this schema object's held prim.
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::GetPoissonsRatioAttr: Poissons's ratio which defines the material's volume preservation under stress. Used to determine in-plane and bending stiffness. Range: [0, 0.5] Units: dimensionless.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPrim: Return this schema object's held prim.
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::GetThicknessAttr: Virtual thickness of cloth mesh. Used to determine in-plane and bending stiffness, and mass from density. If set to 0.0, the simulation determines a default value. Range: [0.0, inf) Units: distance.
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::GetYoungsModulusAttr: Young's modulus, i.e. the tensile stiffness of the material. Used to determine in-plane and bending stiffness. If set to a negative value, the simulation determines a default value. Range: [0, inf) Units: force / area = mass/distance/seconds/seconds.
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::PhysxSchemaPhysxDeformableSurfaceMaterialAPI: Construct a PhysxSchemaPhysxDeformableSurfaceMaterialAPI on UsdPrim
prim
. Equivalent to PhysxSchemaPhysxDeformableSurfaceMaterialAPI::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::PhysxSchemaPhysxDeformableSurfaceMaterialAPI: Construct a PhysxSchemaPhysxDeformableSurfaceMaterialAPI on the prim held by
schemaObj
. Should be preferred over PhysxSchemaPhysxDeformableSurfaceMaterialAPI (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::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::operator bool: Boolean operator.
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::~PhysxSchemaPhysxDeformableSurfaceMaterialAPI: Destructor.
Variables
usdrt::PhysxSchemaPhysxDeformableSurfaceMaterialAPI::schemaType: Compile time constant representing what kind of schema this class is.
-
class PhysxSchemaPhysxDeformableSurfaceMaterialAPI : public usdrt::UsdAPISchemaBase
WARNING: This is a draft API; the design is not fixed and may change in the future. Applied to USD Material. Defines material properties for deformable surfaces.
Public Functions
-
inline explicit PhysxSchemaPhysxDeformableSurfaceMaterialAPI(const UsdPrim &prim = UsdPrim())
Construct a PhysxSchemaPhysxDeformableSurfaceMaterialAPI on UsdPrim
prim
. Equivalent to PhysxSchemaPhysxDeformableSurfaceMaterialAPI::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.
-
inline explicit PhysxSchemaPhysxDeformableSurfaceMaterialAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxDeformableSurfaceMaterialAPI on the prim held by
schemaObj
. Should be preferred over PhysxSchemaPhysxDeformableSurfaceMaterialAPI(schemaObj.GetPrim()), as it preserves SchemaBase state.
-
inline virtual ~PhysxSchemaPhysxDeformableSurfaceMaterialAPI()
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 GetDensityAttr() const
Material density. If set to 0.0, the simulation determines a default value. The mass of deformable surface is computed by density * area * thickness. A density or mass set with a PhysicsMassAPI overrides the material density. Range: [0, inf) Units: mass / distance / distance / distance.
Declaration
float physxDeformableSurfaceMaterial:density = 0
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateDensityAttr() const
See GetDensityAttr(), 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 GetDynamicFrictionAttr() const
Dynamic friction coefficient. Range: [0, inf) Units: dimensionless.
Declaration
float physxDeformableSurfaceMaterial:dynamicFriction = 0.25
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateDynamicFrictionAttr() const
See GetDynamicFrictionAttr(), 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 GetYoungsModulusAttr() const
Young’s modulus, i.e. the tensile stiffness of the material. Used to determine in-plane and bending stiffness. If set to a negative value, the simulation determines a default value. Range: [0, inf) Units: force / area = mass/distance/seconds/seconds.
Declaration
float physxDeformableSurfaceMaterial:youngsModulus = -inf
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateYoungsModulusAttr() const
See GetYoungsModulusAttr(), 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 GetPoissonsRatioAttr() const
Poissons’s ratio which defines the material’s volume preservation under stress. Used to determine in-plane and bending stiffness. Range: [0, 0.5] Units: dimensionless.
Declaration
float physxDeformableSurfaceMaterial:poissonsRatio = 0
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreatePoissonsRatioAttr() const
See GetPoissonsRatioAttr(), 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 GetThicknessAttr() const
Virtual thickness of cloth mesh. Used to determine in-plane and bending stiffness, and mass from density. If set to 0.0, the simulation determines a default value. Range: [0.0, inf) Units: distance.
Declaration
float physxDeformableSurfaceMaterial:thickness = 0
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateThicknessAttr() const
See GetThicknessAttr(), 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 PhysxSchemaPhysxDeformableSurfaceMaterialAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given
prim
. This information is stored by adding “PhysxDeformableSurfaceMaterialAPI” 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 PhysxSchemaPhysxDeformableSurfaceMaterialAPI object is returned upon success. An invalid (or empty) PhysxSchemaPhysxDeformableSurfaceMaterialAPI 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 PhysxSchemaPhysxDeformableSurfaceMaterialAPI(const UsdPrim &prim = UsdPrim())