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 UsdSchemaType
schemaType = UsdSchemaType::SingleApplyAPI;
76 : UsdAPISchemaBase(prim)
84 : UsdAPISchemaBase(schemaObj)
96 static const TfTokenVector &
110 Get(
const UsdStagePtr &stage,
const SdfPath &path);
129 Apply(
const UsdPrim &prim);
140 friend class UsdSchemaRegistry;
142 static const TfType &_GetStaticTfType();
144 static bool _IsTypedSchema();
148 const TfType &_GetTfType()
const override;
295 UsdAttribute
CreateSolverTypeAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
343 UsdAttribute
CreateFrictionTypeAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
365 UsdAttribute
CreateEnableCCDAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
411 UsdAttribute
CreateUpdateTypeAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
875 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 UsdAttribute GetMaxIterationCountAttr() const
Maximum iteration count for all actors (rigid bodies, cloth, particles etc).
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 CreateMaxIterationCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxIterationCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
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 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 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 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 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 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 GetMinIterationCountAttr() const
Minimum iteration count for all actors (rigid bodies, cloth, particles etc).
PHYSXSCHEMA_API UsdAttribute CreateMinIterationCountAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMinIterationCountAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
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.
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 UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
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 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...
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
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...
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 .