usdrt::PhysxSchemaPhysxSceneAPI
Defined in usdrt/scenegraph/usd/physxSchema/physxSceneAPI.h
Functions
usdrt::PhysxSchemaPhysxSceneAPI::Apply: Applies this single-apply API schema to the given
prim
. This information is stored by adding "PhysxSceneAPI" to the token-valued, listOp metadata apiSchemas on the prim.usdrt::PhysxSchemaPhysxSceneAPI::CreateBounceThresholdAttr: See GetBounceThresholdAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateBroadphaseTypeAttr: See GetBroadphaseTypeAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateCollisionSystemAttr: See GetCollisionSystemAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateEnableCCDAttr: See GetEnableCCDAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateEnableEnhancedDeterminismAttr: See GetEnableEnhancedDeterminismAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateEnableGPUDynamicsAttr: See GetEnableGPUDynamicsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateEnableSceneQuerySupportAttr: See GetEnableSceneQuerySupportAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateEnableStabilizationAttr: See GetEnableStabilizationAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateFrictionCorrelationDistanceAttr: See GetFrictionCorrelationDistanceAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateFrictionOffsetThresholdAttr: See GetFrictionOffsetThresholdAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateFrictionTypeAttr: See GetFrictionTypeAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuCollisionStackSizeAttr: See GetGpuCollisionStackSizeAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuFoundLostAggregatePairsCapacityAttr: See GetGpuFoundLostAggregatePairsCapacityAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuFoundLostPairsCapacityAttr: See GetGpuFoundLostPairsCapacityAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuHeapCapacityAttr: See GetGpuHeapCapacityAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuMaxDeformableSurfaceContactsAttr: See GetGpuMaxDeformableSurfaceContactsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuMaxHairContactsAttr: See GetGpuMaxHairContactsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuMaxNumPartitionsAttr: See GetGpuMaxNumPartitionsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuMaxParticleContactsAttr: See GetGpuMaxParticleContactsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuMaxRigidContactCountAttr: See GetGpuMaxRigidContactCountAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuMaxRigidPatchCountAttr: See GetGpuMaxRigidPatchCountAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuMaxSoftBodyContactsAttr: See GetGpuMaxSoftBodyContactsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuTempBufferCapacityAttr: See GetGpuTempBufferCapacityAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateGpuTotalAggregatePairsCapacityAttr: See GetGpuTotalAggregatePairsCapacityAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateInvertCollisionGroupFilterAttr: See GetInvertCollisionGroupFilterAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateMaxBiasCoefficientAttr: See GetMaxBiasCoefficientAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateMaxIterationCountAttr: See GetMaxIterationCountAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateMinIterationCountAttr: See GetMinIterationCountAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateReportKinematicKinematicPairsAttr: See GetReportKinematicKinematicPairsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateReportKinematicStaticPairsAttr: See GetReportKinematicStaticPairsAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateSolverTypeAttr: See GetSolverTypeAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateTimeStepsPerSecondAttr: See GetTimeStepsPerSecondAttr() , 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::PhysxSchemaPhysxSceneAPI::CreateUpdateTypeAttr: See GetUpdateTypeAttr() , 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::PhysxSchemaPhysxSceneAPI::GetBounceThresholdAttr: A contact with a relative velocity below this will not bounce. Range: [0, inf) Default: 0.2 * tolerancesSpeed Units: distance / seconds.
usdrt::PhysxSchemaPhysxSceneAPI::GetBroadphaseTypeAttr: Broad phase algorithm used in the simulation.
usdrt::PhysxSchemaPhysxSceneAPI::GetCollisionSystemAttr: Collision detection system.
usdrt::PhysxSchemaPhysxSceneAPI::GetEnableCCDAttr: Enables a second broad phase check after integration that makes it possible to prevent objects from tunneling through each other.
usdrt::PhysxSchemaPhysxSceneAPI::GetEnableEnhancedDeterminismAttr: Provides improved determinism at the expense of performance.
usdrt::PhysxSchemaPhysxSceneAPI::GetEnableGPUDynamicsAttr: Enables the GPU dynamics pipeline. Required for GPU only features like deformables.
usdrt::PhysxSchemaPhysxSceneAPI::GetEnableSceneQuerySupportAttr: Enables scene query support for collision shapes.
usdrt::PhysxSchemaPhysxSceneAPI::GetEnableStabilizationAttr: Enables additional stabilization pass in solver.
usdrt::PhysxSchemaPhysxSceneAPI::GetFrictionCorrelationDistanceAttr: Friction correlation distance used to decide whether contacts are close enough to be merged into a single friction anchor point or not. Range: [0, inf) Default: 0.025 * tolerancesLength Units: distance.
usdrt::PhysxSchemaPhysxSceneAPI::GetFrictionOffsetThresholdAttr: A threshold of contact separation distance used to decide if a contact point will experience friction forces. Range: [0, inf) Default: 0.04 * tolerancesLength Units: distance.
usdrt::PhysxSchemaPhysxSceneAPI::GetFrictionTypeAttr: Friction type used in simulation.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuCollisionStackSizeAttr: Gpu collision stack size.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuFoundLostAggregatePairsCapacityAttr: Gpu found lost aggregate pairs capacity.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuFoundLostPairsCapacityAttr: Gpu found lost pairs capacity.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuHeapCapacityAttr: Gpu heap capacity.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuMaxDeformableSurfaceContactsAttr: Gpu max deformable surface contacts.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuMaxHairContactsAttr: Gpu max hair contacts.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuMaxNumPartitionsAttr: Limitation for the partitions in the GPU dynamics pipeline. This variable must be a power of 2. A value greater than 32 is currently not supported.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuMaxParticleContactsAttr: Gpu max particle contacts.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuMaxRigidContactCountAttr: Gpu max rigid contact count.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuMaxRigidPatchCountAttr: Gpu max rigid patch count.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuMaxSoftBodyContactsAttr: Gpu max soft body contacts.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuTempBufferCapacityAttr: Gpu temp buffer capacity.
usdrt::PhysxSchemaPhysxSceneAPI::GetGpuTotalAggregatePairsCapacityAttr: Gpu total aggregate pairs capacity.
usdrt::PhysxSchemaPhysxSceneAPI::GetInvertCollisionGroupFilterAttr: Boolean attribute indicating whether inverted collision group filtering should be used. By default two collisions, that do have a collisionGroup set, collide with each other. Adding a collisionGroup into a collisionGroup filtering will mean that the collision between those groups will be disabled. This boolean attribute does invert the default behavior. Hence two collisions with defined collisionGroups will not collide with each other by default and one does enable the collisions between the groups through the "CollisionGroup" filtering.
usdrt::PhysxSchemaPhysxSceneAPI::GetMaxBiasCoefficientAttr: The maximum bias coefficient used in the constraint solver. Range: [0, inf) Units: dimensionless.
usdrt::PhysxSchemaPhysxSceneAPI::GetMaxIterationCountAttr: Maximum iteration count for all actors (rigid bodies, cloth, particles etc).
usdrt::PhysxSchemaPhysxSceneAPI::GetMinIterationCountAttr: Minimum iteration count for all actors (rigid bodies, cloth, particles etc).
usdrt::DestructionSchemaDestructibleBaseAPI::GetPath: Return the SdfPath to this schema object's held prim.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPrim: Return this schema object's held prim.
usdrt::PhysxSchemaPhysxSceneAPI::GetReportKinematicKinematicPairsAttr: Boolean attribute indicating whether kinematic vs kinematic pairs generate contact reports.
usdrt::PhysxSchemaPhysxSceneAPI::GetReportKinematicStaticPairsAttr: Boolean attribute indicating whether kinematic vs static pairs generate contact reports.
usdrt::PhysxSchemaPhysxSceneAPI::GetSolverTypeAttr: Solver used for the simulation.
usdrt::PhysxSchemaPhysxSceneAPI::GetTimeStepsPerSecondAttr: Simulation scene step defined as number of steps per second. Note that application might cap the number of simulation steps to avoid running more simulations steps with a low frame rate.
usdrt::PhysxSchemaPhysxSceneAPI::GetUpdateTypeAttr: Type of update for a PhysX scene.
usdrt::PhysxSchemaPhysxSceneAPI::PhysxSchemaPhysxSceneAPI: Construct a PhysxSchemaPhysxSceneAPI on the prim held by
schemaObj
. Should be preferred over PhysxSchemaPhysxSceneAPI (schemaObj.GetPrim()), as it preserves SchemaBase state.usdrt::PhysxSchemaPhysxSceneAPI::PhysxSchemaPhysxSceneAPI: Construct a PhysxSchemaPhysxSceneAPI on UsdPrim
prim
. Equivalent to PhysxSchemaPhysxSceneAPI::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.usdrt::DestructionSchemaDestructibleBaseAPI::_GetInstanceName: Returns the instance name of the API schema object belonging to a multiple-apply API schema.
usdrt::PhysxSchemaPhysxSceneAPI::operator bool: Boolean operator.
usdrt::PhysxSchemaPhysxSceneAPI::~PhysxSchemaPhysxSceneAPI: Destructor.
Variables
usdrt::PhysxSchemaPhysxSceneAPI::schemaType: Compile time constant representing what kind of schema this class is.
-
class PhysxSchemaPhysxSceneAPI : public usdrt::UsdAPISchemaBase
PhysX scene extended parameters. Default PhysX material for the scene can be set by using material bind with purpose physics onto the PhysicsScene prim. For any described attribute Fallback Value or Allowed Values below that are text/tokens, the actual token is published and defined in PhysxSchemaTokens. So to set an attribute to the value “rightHanded”, use PhysxSchemaTokens->rightHanded as the value.
Public Functions
-
inline explicit PhysxSchemaPhysxSceneAPI(const UsdPrim &prim = UsdPrim())
Construct a PhysxSchemaPhysxSceneAPI on UsdPrim
prim
. Equivalent to PhysxSchemaPhysxSceneAPI::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.
-
inline explicit PhysxSchemaPhysxSceneAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxSceneAPI on the prim held by
schemaObj
. Should be preferred over PhysxSchemaPhysxSceneAPI(schemaObj.GetPrim()), as it preserves SchemaBase state.
-
inline virtual ~PhysxSchemaPhysxSceneAPI()
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 GetBounceThresholdAttr() const
A contact with a relative velocity below this will not bounce. Range: [0, inf) Default: 0.2 * tolerancesSpeed Units: distance / seconds.
Declaration
float physxScene:bounceThreshold = 0.2
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateBounceThresholdAttr() const
See GetBounceThresholdAttr(), 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 GetFrictionOffsetThresholdAttr() const
A threshold of contact separation distance used to decide if a contact point will experience friction forces. Range: [0, inf) Default: 0.04 * tolerancesLength Units: distance.
Declaration
float physxScene:frictionOffsetThreshold = 0.04
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateFrictionOffsetThresholdAttr() const
See GetFrictionOffsetThresholdAttr(), 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 GetFrictionCorrelationDistanceAttr() const
Friction correlation distance used to decide whether contacts are close enough to be merged into a single friction anchor point or not. Range: [0, inf) Default: 0.025 * tolerancesLength Units: distance.
Declaration
float physxScene:frictionCorrelationDistance = 0.025
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateFrictionCorrelationDistanceAttr() const
See GetFrictionCorrelationDistanceAttr(), 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 GetMaxBiasCoefficientAttr() const
The maximum bias coefficient used in the constraint solver. Range: [0, inf) Units: dimensionless.
Declaration
float physxScene:maxBiasCoefficient = inf
C++ Type
float
Usd Type
SdfValueTypeNames->Float
-
inline UsdAttribute CreateMaxBiasCoefficientAttr() const
See GetMaxBiasCoefficientAttr(), 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 GetCollisionSystemAttr() const
Collision detection system.
Declaration
uniform token physxScene:collisionSystem = "PCM"
C++ Type
TfToken
Usd Type
SdfValueTypeNames->Token
Variability
SdfVariabilityUniform
Allowed Values
PCM, SAT
-
inline UsdAttribute CreateCollisionSystemAttr() const
See GetCollisionSystemAttr(), 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 GetSolverTypeAttr() const
Solver used for the simulation.
Declaration
uniform token physxScene:solverType = "TGS"
C++ Type
TfToken
Usd Type
SdfValueTypeNames->Token
Variability
SdfVariabilityUniform
Allowed Values
PGS, TGS
-
inline UsdAttribute CreateSolverTypeAttr() const
See GetSolverTypeAttr(), 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 GetBroadphaseTypeAttr() const
Broad phase algorithm used in the simulation.
Declaration
uniform token physxScene:broadphaseType = "GPU"
C++ Type
TfToken
Usd Type
SdfValueTypeNames->Token
Variability
SdfVariabilityUniform
Allowed Values
GPU, MBP, SAP
-
inline UsdAttribute CreateBroadphaseTypeAttr() const
See GetBroadphaseTypeAttr(), 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 GetFrictionTypeAttr() const
Friction type used in simulation.
Declaration
uniform token physxScene:frictionType = "patch"
C++ Type
TfToken
Usd Type
SdfValueTypeNames->Token
Variability
SdfVariabilityUniform
Allowed Values
patch, oneDirectional, twoDirectional
-
inline UsdAttribute CreateFrictionTypeAttr() const
See GetFrictionTypeAttr(), 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 GetEnableCCDAttr() const
Enables a second broad phase check after integration that makes it possible to prevent objects from tunneling through each other.
Declaration
bool physxScene:enableCCD = 0
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateEnableCCDAttr() const
See GetEnableCCDAttr(), 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 GetEnableStabilizationAttr() const
Enables additional stabilization pass in solver.
Declaration
bool physxScene:enableStabilization = 0
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateEnableStabilizationAttr() const
See GetEnableStabilizationAttr(), 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 GetUpdateTypeAttr() const
Type of update for a PhysX scene.
Declaration
uniform token physxScene:updateType = "Synchronous"
C++ Type
TfToken
Usd Type
SdfValueTypeNames->Token
Variability
SdfVariabilityUniform
Allowed Values
Synchronous, Asynchronous, Disabled
-
inline UsdAttribute CreateUpdateTypeAttr() const
See GetUpdateTypeAttr(), 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 GetEnableGPUDynamicsAttr() const
Enables the GPU dynamics pipeline. Required for GPU only features like deformables.
Declaration
bool physxScene:enableGPUDynamics = 1
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateEnableGPUDynamicsAttr() const
See GetEnableGPUDynamicsAttr(), 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 GetEnableEnhancedDeterminismAttr() const
Provides improved determinism at the expense of performance.
Declaration
bool physxScene:enableEnhancedDeterminism = 0
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateEnableEnhancedDeterminismAttr() const
See GetEnableEnhancedDeterminismAttr(), 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 GetEnableSceneQuerySupportAttr() const
Enables scene query support for collision shapes.
Declaration
bool physxScene:enableSceneQuerySupport = 1
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateEnableSceneQuerySupportAttr() const
See GetEnableSceneQuerySupportAttr(), 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 GetTimeStepsPerSecondAttr() const
Simulation scene step defined as number of steps per second. Note that application might cap the number of simulation steps to avoid running more simulations steps with a low frame rate.
Declaration
uint physxScene:timeStepsPerSecond = 60
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateTimeStepsPerSecondAttr() const
See GetTimeStepsPerSecondAttr(), 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 GetGpuTempBufferCapacityAttr() const
Gpu temp buffer capacity.
Declaration
uint physxScene:gpuTempBufferCapacity = 16777216
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuTempBufferCapacityAttr() const
See GetGpuTempBufferCapacityAttr(), 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 GetGpuMaxRigidContactCountAttr() const
Gpu max rigid contact count.
Declaration
uint physxScene:gpuMaxRigidContactCount = 524288
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuMaxRigidContactCountAttr() const
See GetGpuMaxRigidContactCountAttr(), 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 GetGpuMaxRigidPatchCountAttr() const
Gpu max rigid patch count.
Declaration
uint physxScene:gpuMaxRigidPatchCount = 81920
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuMaxRigidPatchCountAttr() const
See GetGpuMaxRigidPatchCountAttr(), 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 GetGpuHeapCapacityAttr() const
Gpu heap capacity.
Declaration
uint physxScene:gpuHeapCapacity = 67108864
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuHeapCapacityAttr() const
See GetGpuHeapCapacityAttr(), 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 GetGpuFoundLostPairsCapacityAttr() const
Gpu found lost pairs capacity.
Declaration
uint physxScene:gpuFoundLostPairsCapacity = 262144
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuFoundLostPairsCapacityAttr() const
See GetGpuFoundLostPairsCapacityAttr(), 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 GetGpuFoundLostAggregatePairsCapacityAttr() const
Gpu found lost aggregate pairs capacity.
Declaration
uint physxScene:gpuFoundLostAggregatePairsCapacity = 1024
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuFoundLostAggregatePairsCapacityAttr() const
See GetGpuFoundLostAggregatePairsCapacityAttr(), 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 GetGpuTotalAggregatePairsCapacityAttr() const
Gpu total aggregate pairs capacity.
Declaration
uint physxScene:gpuTotalAggregatePairsCapacity = 1024
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuTotalAggregatePairsCapacityAttr() const
See GetGpuTotalAggregatePairsCapacityAttr(), 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 GetGpuMaxSoftBodyContactsAttr() const
Gpu max soft body contacts.
Declaration
uint physxScene:gpuMaxSoftBodyContacts = 1048576
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuMaxSoftBodyContactsAttr() const
See GetGpuMaxSoftBodyContactsAttr(), 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 GetGpuMaxDeformableSurfaceContactsAttr() const
Gpu max deformable surface contacts.
Declaration
uint physxScene:gpuMaxDeformableSurfaceContacts = 1048576
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuMaxDeformableSurfaceContactsAttr() const
See GetGpuMaxDeformableSurfaceContactsAttr(), 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 GetGpuMaxParticleContactsAttr() const
Gpu max particle contacts.
Declaration
uint physxScene:gpuMaxParticleContacts = 1048576
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuMaxParticleContactsAttr() const
See GetGpuMaxParticleContactsAttr(), 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 GetGpuMaxHairContactsAttr() const
Gpu max hair contacts.
Declaration
uint physxScene:gpuMaxHairContacts = 1048576
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuMaxHairContactsAttr() const
See GetGpuMaxHairContactsAttr(), 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 GetGpuMaxNumPartitionsAttr() const
Limitation for the partitions in the GPU dynamics pipeline. This variable must be a power of 2. A value greater than 32 is currently not supported.
Declaration
uint physxScene:gpuMaxNumPartitions = 8
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuMaxNumPartitionsAttr() const
See GetGpuMaxNumPartitionsAttr(), 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 GetGpuCollisionStackSizeAttr() const
Gpu collision stack size.
Declaration
uint physxScene:gpuCollisionStackSize = 67108864
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateGpuCollisionStackSizeAttr() const
See GetGpuCollisionStackSizeAttr(), 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 GetInvertCollisionGroupFilterAttr() const
Boolean attribute indicating whether inverted collision group filtering should be used. By default two collisions, that do have a collisionGroup set, collide with each other. Adding a collisionGroup into a collisionGroup filtering will mean that the collision between those groups will be disabled. This boolean attribute does invert the default behavior. Hence two collisions with defined collisionGroups will not collide with each other by default and one does enable the collisions between the groups through the “CollisionGroup” filtering.
Declaration
bool physxScene:invertCollisionGroupFilter = 0
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateInvertCollisionGroupFilterAttr() const
See GetInvertCollisionGroupFilterAttr(), 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 GetReportKinematicKinematicPairsAttr() const
Boolean attribute indicating whether kinematic vs kinematic pairs generate contact reports.
Declaration
bool physxScene:reportKinematicKinematicPairs = 0
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateReportKinematicKinematicPairsAttr() const
See GetReportKinematicKinematicPairsAttr(), 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 GetReportKinematicStaticPairsAttr() const
Boolean attribute indicating whether kinematic vs static pairs generate contact reports.
Declaration
bool physxScene:reportKinematicStaticPairs = 0
C++ Type
bool
Usd Type
SdfValueTypeNames->Bool
-
inline UsdAttribute CreateReportKinematicStaticPairsAttr() const
See GetReportKinematicStaticPairsAttr(), 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 GetMinIterationCountAttr() const
Minimum iteration count for all actors (rigid bodies, cloth, particles etc).
Declaration
uint physxScene:minIterationCount = 0
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateMinIterationCountAttr() const
See GetMinIterationCountAttr(), 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 GetMaxIterationCountAttr() const
Maximum iteration count for all actors (rigid bodies, cloth, particles etc).
Declaration
uint physxScene:maxIterationCount = 255
C++ Type
unsigned int
Usd Type
SdfValueTypeNames->UInt
-
inline UsdAttribute CreateMaxIterationCountAttr() const
See GetMaxIterationCountAttr(), 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 PhysxSchemaPhysxSceneAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given
prim
. This information is stored by adding “PhysxSceneAPI” 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 PhysxSchemaPhysxSceneAPI object is returned upon success. An invalid (or empty) PhysxSchemaPhysxSceneAPI 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 PhysxSchemaPhysxSceneAPI(const UsdPrim &prim = UsdPrim())