24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXSCENEAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXSCENEAPI_H
31 #include "pxr/usd/usd/apiSchemaBase.h"
32 #include "pxr/usd/usd/prim.h"
33 #include "pxr/usd/usd/stage.h"
36 #include "pxr/base/vt/value.h"
38 #include "pxr/base/gf/vec3d.h"
39 #include "pxr/base/gf/vec3f.h"
40 #include "pxr/base/gf/matrix4d.h"
42 #include "pxr/base/tf/token.h"
43 #include "pxr/base/tf/type.h"
45 PXR_NAMESPACE_OPEN_SCOPE
69 static const UsdSchemaKind
schemaKind = UsdSchemaKind::SingleApplyAPI;
76 : UsdAPISchemaBase(prim)
84 : UsdAPISchemaBase(schemaObj)
96 static const TfTokenVector &
110 Get(
const UsdStagePtr &stage,
const SdfPath &path);
131 CanApply(
const UsdPrim &prim, std::string *whyNot=
nullptr);
150 Apply(
const UsdPrim &prim);
161 friend class UsdSchemaRegistry;
163 static const TfType &_GetStaticTfType();
165 static bool _IsTypedSchema();
169 const TfType &_GetTfType()
const override;
316 UsdAttribute
CreateSolverTypeAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
366 UsdAttribute
CreateFrictionTypeAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
388 UsdAttribute
CreateEnableCCDAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
434 UsdAttribute
CreateUpdateTypeAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
1040 PXR_NAMESPACE_CLOSE_SCOPE
PHYSXSCHEMA_API UsdAttribute GetEnableSceneQuerySupportAttr() const
Enables scene query support for collision shapes.
PHYSXSCHEMA_API UsdAttribute CreateBroadphaseTypeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetBroadphaseTypeAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
PHYSXSCHEMA_API UsdAttribute CreateGpuMaxDeformableSurfaceContactsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuMaxDeformableSurfaceContactsAttr(), and also Usd_Create_Or_Get_Property for when to use Get...
PHYSXSCHEMA_API UsdAttribute GetInvertCollisionGroupFilterAttr() const
Boolean attribute indicating whether inverted collision group filtering should be used...
PHYSXSCHEMA_API UsdAttribute GetGpuMaxParticleContactsAttr() const
Gpu max particle contacts.
PHYSXSCHEMA_API UsdAttribute CreateEnableEnhancedDeterminismAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableEnhancedDeterminismAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Cr...
PHYSXSCHEMA_API UsdAttribute GetGpuFoundLostAggregatePairsCapacityAttr() const
Gpu found lost aggregate pairs capacity.
PHYSXSCHEMA_API UsdAttribute CreateGpuHeapCapacityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuHeapCapacityAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateFrictionTypeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetFrictionTypeAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetEnableEnhancedDeterminismAttr() const
Provides improved determinism at the expense of performance.
static PHYSXSCHEMA_API PhysxSchemaPhysxSceneAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxSceneAPI holding the prim adhering to this schema at path on stage...
PHYSXSCHEMA_API UsdAttribute CreateEnableGPUDynamicsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableGPUDynamicsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetMinVelocityIterationCountAttr() const
Minimum velocity iteration count for all actors (rigid bodies, cloth, particles etc).
PHYSXSCHEMA_API UsdAttribute CreateEnableResidualReportingAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableResidualReportingAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
PHYSXSCHEMA_API UsdAttribute GetReportKinematicKinematicPairsAttr() const
Boolean attribute indicating whether kinematic vs kinematic pairs generate contact reports...
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxSceneAPI()
Destructor.
PHYSXSCHEMA_API UsdAttribute CreateReportKinematicStaticPairsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetReportKinematicStaticPairsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs C...
PHYSXSCHEMA_API UsdAttribute CreateMaxVelocityIterationCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxVelocityIterationCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Cr...
PHYSXSCHEMA_API UsdAttribute CreateSolverTypeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSolverTypeAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PhysxSchemaPhysxSceneAPI(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxSceneAPI on UsdPrim prim .
PHYSXSCHEMA_API UsdAttribute CreateBounceThresholdAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetBounceThresholdAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetGpuTempBufferCapacityAttr() const
Gpu temp buffer capacity.
PHYSXSCHEMA_API UsdAttribute CreateGpuMaxRigidContactCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuMaxRigidContactCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
PHYSXSCHEMA_API UsdAttribute CreateFrictionOffsetThresholdAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetFrictionOffsetThresholdAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
PHYSXSCHEMA_API UsdAttribute GetGpuMaxNumPartitionsAttr() const
Limitation for the partitions in the GPU dynamics pipeline.
PHYSXSCHEMA_API UsdAttribute CreateMaxPositionIterationCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxPositionIterationCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Cr...
PHYSXSCHEMA_API UsdAttribute GetMinPositionIterationCountAttr() const
Minimum position iteration count for all actors (rigid bodies, cloth, particles etc).
PHYSXSCHEMA_API UsdAttribute GetMaxPositionIterationCountAttr() const
Maximum position iteration count for all actors (rigid bodies, cloth, particles etc).
PHYSXSCHEMA_API UsdAttribute CreateMaxBiasCoefficientAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxBiasCoefficientAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetGpuMaxRigidContactCountAttr() const
Gpu max rigid contact count.
PHYSXSCHEMA_API UsdAttribute CreateEnableStabilizationAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableStabilizationAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetBroadphaseTypeAttr() const
Broad phase algorithm used in the simulation.
PHYSXSCHEMA_API UsdAttribute GetGpuMaxDeformableSurfaceContactsAttr() const
Gpu max deformable surface contacts.
PHYSXSCHEMA_API UsdAttribute GetGpuMaxHairContactsAttr() const
Gpu max hair contacts.
PHYSXSCHEMA_API UsdAttribute CreateReportKinematicKinematicPairsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetReportKinematicKinematicPairsAttr(), and also Usd_Create_Or_Get_Property for when to use Get v...
PHYSXSCHEMA_API UsdAttribute GetMaxVelocityIterationCountAttr() const
Maximum velocity iteration count for all actors (rigid bodies, cloth, particles etc).
static PHYSXSCHEMA_API bool CanApply(const UsdPrim &prim, std::string *whyNot=nullptr)
Returns true if this single-apply API schema can be applied to the given prim.
PHYSXSCHEMA_API UsdAttribute GetEnableCCDAttr() const
Enables a second broad phase check after integration that makes it possible to prevent objects from t...
PHYSXSCHEMA_API UsdAttribute GetTimeStepsPerSecondAttr() const
Simulation scene step defined as number of steps per second.
PHYSXSCHEMA_API UsdAttribute GetReportKinematicStaticPairsAttr() const
Boolean attribute indicating whether kinematic vs static pairs generate contact reports.
PHYSXSCHEMA_API UsdAttribute CreateFrictionCorrelationDistanceAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetFrictionCorrelationDistanceAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs ...
PHYSXSCHEMA_API UsdAttribute CreateGpuTotalAggregatePairsCapacityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuTotalAggregatePairsCapacityAttr(), and also Usd_Create_Or_Get_Property for when to use Get ...
PHYSXSCHEMA_API UsdAttribute GetGpuMaxSoftBodyContactsAttr() const
Gpu max soft body contacts.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
PHYSXSCHEMA_API UsdAttribute CreateGpuTempBufferCapacityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuTempBufferCapacityAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateUpdateTypeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetUpdateTypeAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetGpuTotalAggregatePairsCapacityAttr() const
Gpu total aggregate pairs capacity.
PHYSXSCHEMA_API UsdAttribute CreateEnableSceneQuerySupportAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableSceneQuerySupportAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Crea...
PHYSXSCHEMA_API UsdAttribute CreateInvertCollisionGroupFilterAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetInvertCollisionGroupFilterAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs C...
PHYSXSCHEMA_API UsdAttribute CreateGpuCollisionStackSizeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuCollisionStackSizeAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetFrictionCorrelationDistanceAttr() const
Friction correlation distance used to decide whether contacts are close enough to be merged into a si...
PHYSXSCHEMA_API UsdAttribute GetGpuMaxRigidPatchCountAttr() const
Gpu max rigid patch count.
PHYSXSCHEMA_API UsdAttribute GetGpuHeapCapacityAttr() const
Gpu heap capacity.
PHYSXSCHEMA_API UsdAttribute CreateGpuFoundLostPairsCapacityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuFoundLostPairsCapacityAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Cr...
PHYSXSCHEMA_API UsdAttribute GetCollisionSystemAttr() const
Collision detection system.
PHYSXSCHEMA_API UsdAttribute CreateEnableCCDAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableCCDAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateGpuMaxSoftBodyContactsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuMaxSoftBodyContactsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Creat...
PHYSXSCHEMA_API UsdAttribute GetSolverTypeAttr() const
Solver used for the simulation.
PHYSXSCHEMA_API UsdAttribute GetFrictionOffsetThresholdAttr() const
A threshold of contact separation distance used to decide if a contact point will experience friction...
static PHYSXSCHEMA_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
PHYSXSCHEMA_API UsdAttribute CreateCollisionSystemAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetCollisionSystemAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PhysX scene extended parameters.
PHYSXSCHEMA_API UsdAttribute CreateGpuMaxRigidPatchCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuMaxRigidPatchCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetGpuCollisionStackSizeAttr() const
Gpu collision stack size.
PHYSXSCHEMA_API UsdAttribute GetMaxBiasCoefficientAttr() const
The maximum bias coefficient used in the constraint solver.
PHYSXSCHEMA_API UsdAttribute GetEnableStabilizationAttr() const
Enables additional stabilization pass in solver.
PHYSXSCHEMA_API UsdAttribute GetEnableExternalForcesEveryIterationAttr() const
Enables greater TGS solver stability.
PHYSXSCHEMA_API UsdAttribute CreateGpuFoundLostAggregatePairsCapacityAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuFoundLostAggregatePairsCapacityAttr(), and also Usd_Create_Or_Get_Property for when to use ...
PHYSXSCHEMA_API UsdAttribute GetEnableGPUDynamicsAttr() const
Enables the GPU dynamics pipeline.
PHYSXSCHEMA_API UsdAttribute GetBounceThresholdAttr() const
A contact with a relative velocity below this will not bounce.
PHYSXSCHEMA_API UsdAttribute CreateTimeStepsPerSecondAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetTimeStepsPerSecondAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetEnableResidualReportingAttr() const
Calculates solver residuals and reports them through optional Residual Report APIs at a slight expens...
PHYSXSCHEMA_API UsdAttribute CreateEnableExternalForcesEveryIterationAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetEnableExternalForcesEveryIterationAttr(), and also Usd_Create_Or_Get_Property for when to use ...
PHYSXSCHEMA_API UsdAttribute CreateGpuMaxNumPartitionsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuMaxNumPartitionsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateMinVelocityIterationCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMinVelocityIterationCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Cr...
static PHYSXSCHEMA_API PhysxSchemaPhysxSceneAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
PHYSXSCHEMA_API UsdAttribute GetUpdateTypeAttr() const
Type of update for a PhysX scene.
PHYSXSCHEMA_API UsdAttribute GetFrictionTypeAttr() const
Friction type used in simulation.
PHYSXSCHEMA_API UsdAttribute CreateGpuMaxParticleContactsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuMaxParticleContactsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Creat...
PHYSXSCHEMA_API UsdAttribute GetGpuFoundLostPairsCapacityAttr() const
Gpu found lost pairs capacity.
PhysxSchemaPhysxSceneAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxSceneAPI on the prim held by schemaObj .
PHYSXSCHEMA_API UsdAttribute CreateMinPositionIterationCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMinPositionIterationCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Cr...
PHYSXSCHEMA_API UsdAttribute CreateGpuMaxHairContactsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetGpuMaxHairContactsAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...