All Classes Files Functions Variables Pages
physxSceneAPI.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the Apache License, Version 2.0 (the "Apache License")
5 // with the following modification; you may not use this file except in
6 // compliance with the Apache License and the following modification to it:
7 // Section 6. Trademarks. is deleted and replaced with:
8 //
9 // 6. Trademarks. This License does not grant permission to use the trade
10 // names, trademarks, service marks, or product names of the Licensor
11 // and its affiliates, except as required to comply with Section 4(c) of
12 // the License and to reproduce the content of the NOTICE file.
13 //
14 // You may obtain a copy of the Apache License at
15 //
16 // http://www.apache.org/licenses/LICENSE-2.0
17 //
18 // Unless required by applicable law or agreed to in writing, software
19 // distributed under the Apache License with the above modification is
20 // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21 // KIND, either express or implied. See the Apache License for the specific
22 // language governing permissions and limitations under the Apache License.
23 //
24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXSCENEAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXSCENEAPI_H
26 
28 
29 #include "pxr/pxr.h"
30 #include ".//api.h"
31 #include "pxr/usd/usd/apiSchemaBase.h"
32 #include "pxr/usd/usd/prim.h"
33 #include "pxr/usd/usd/stage.h"
34 #include ".//tokens.h"
35 
36 #include "pxr/base/vt/value.h"
37 
38 #include "pxr/base/gf/vec3d.h"
39 #include "pxr/base/gf/vec3f.h"
40 #include "pxr/base/gf/matrix4d.h"
41 
42 #include "pxr/base/tf/token.h"
43 #include "pxr/base/tf/type.h"
44 
45 PXR_NAMESPACE_OPEN_SCOPE
46 
47 class SdfAssetPath;
48 
49 // -------------------------------------------------------------------------- //
50 // PHYSXSCENEAPI //
51 // -------------------------------------------------------------------------- //
52 
63 class PhysxSchemaPhysxSceneAPI : public UsdAPISchemaBase
64 {
65 public:
69  static const UsdSchemaKind schemaKind = UsdSchemaKind::SingleApplyAPI;
70 
75  explicit PhysxSchemaPhysxSceneAPI(const UsdPrim& prim=UsdPrim())
76  : UsdAPISchemaBase(prim)
77  {
78  }
79 
83  explicit PhysxSchemaPhysxSceneAPI(const UsdSchemaBase& schemaObj)
84  : UsdAPISchemaBase(schemaObj)
85  {
86  }
87 
89  PHYSXSCHEMA_API
90  virtual ~PhysxSchemaPhysxSceneAPI();
91 
95  PHYSXSCHEMA_API
96  static const TfTokenVector &
97  GetSchemaAttributeNames(bool includeInherited=true);
98 
108  PHYSXSCHEMA_API
110  Get(const UsdStagePtr &stage, const SdfPath &path);
111 
112 
129  PHYSXSCHEMA_API
130  static bool
131  CanApply(const UsdPrim &prim, std::string *whyNot=nullptr);
132 
148  PHYSXSCHEMA_API
150  Apply(const UsdPrim &prim);
151 
152 protected:
156  PHYSXSCHEMA_API
157  UsdSchemaKind _GetSchemaKind() const override;
158 
159 private:
160  // needs to invoke _GetStaticTfType.
161  friend class UsdSchemaRegistry;
162  PHYSXSCHEMA_API
163  static const TfType &_GetStaticTfType();
164 
165  static bool _IsTypedSchema();
166 
167  // override SchemaBase virtuals.
168  PHYSXSCHEMA_API
169  const TfType &_GetTfType() const override;
170 
171 public:
172  // --------------------------------------------------------------------- //
173  // BOUNCETHRESHOLD
174  // --------------------------------------------------------------------- //
185  PHYSXSCHEMA_API
186  UsdAttribute GetBounceThresholdAttr() const;
187 
193  PHYSXSCHEMA_API
194  UsdAttribute CreateBounceThresholdAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
195 
196 public:
197  // --------------------------------------------------------------------- //
198  // FRICTIONOFFSETTHRESHOLD
199  // --------------------------------------------------------------------- //
210  PHYSXSCHEMA_API
211  UsdAttribute GetFrictionOffsetThresholdAttr() const;
212 
218  PHYSXSCHEMA_API
219  UsdAttribute CreateFrictionOffsetThresholdAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
220 
221 public:
222  // --------------------------------------------------------------------- //
223  // FRICTIONCORRELATIONDISTANCE
224  // --------------------------------------------------------------------- //
235  PHYSXSCHEMA_API
236  UsdAttribute GetFrictionCorrelationDistanceAttr() const;
237 
243  PHYSXSCHEMA_API
244  UsdAttribute CreateFrictionCorrelationDistanceAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
245 
246 public:
247  // --------------------------------------------------------------------- //
248  // MAXBIASCOEFFICIENT
249  // --------------------------------------------------------------------- //
259  PHYSXSCHEMA_API
260  UsdAttribute GetMaxBiasCoefficientAttr() const;
261 
267  PHYSXSCHEMA_API
268  UsdAttribute CreateMaxBiasCoefficientAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
269 
270 public:
271  // --------------------------------------------------------------------- //
272  // COLLISIONSYSTEM
273  // --------------------------------------------------------------------- //
283  PHYSXSCHEMA_API
284  UsdAttribute GetCollisionSystemAttr() const;
285 
291  PHYSXSCHEMA_API
292  UsdAttribute CreateCollisionSystemAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
293 
294 public:
295  // --------------------------------------------------------------------- //
296  // SOLVERTYPE
297  // --------------------------------------------------------------------- //
307  PHYSXSCHEMA_API
308  UsdAttribute GetSolverTypeAttr() const;
309 
315  PHYSXSCHEMA_API
316  UsdAttribute CreateSolverTypeAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
317 
318 public:
319  // --------------------------------------------------------------------- //
320  // BROADPHASETYPE
321  // --------------------------------------------------------------------- //
331  PHYSXSCHEMA_API
332  UsdAttribute GetBroadphaseTypeAttr() const;
333 
339  PHYSXSCHEMA_API
340  UsdAttribute CreateBroadphaseTypeAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
341 
342 public:
343  // --------------------------------------------------------------------- //
344  // FRICTIONTYPE
345  // --------------------------------------------------------------------- //
357  PHYSXSCHEMA_API
358  UsdAttribute GetFrictionTypeAttr() const;
359 
365  PHYSXSCHEMA_API
366  UsdAttribute CreateFrictionTypeAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
367 
368 public:
369  // --------------------------------------------------------------------- //
370  // ENABLECCD
371  // --------------------------------------------------------------------- //
379  PHYSXSCHEMA_API
380  UsdAttribute GetEnableCCDAttr() const;
381 
387  PHYSXSCHEMA_API
388  UsdAttribute CreateEnableCCDAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
389 
390 public:
391  // --------------------------------------------------------------------- //
392  // ENABLESTABILIZATION
393  // --------------------------------------------------------------------- //
401  PHYSXSCHEMA_API
402  UsdAttribute GetEnableStabilizationAttr() const;
403 
409  PHYSXSCHEMA_API
410  UsdAttribute CreateEnableStabilizationAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
411 
412 public:
413  // --------------------------------------------------------------------- //
414  // UPDATETYPE
415  // --------------------------------------------------------------------- //
425  PHYSXSCHEMA_API
426  UsdAttribute GetUpdateTypeAttr() const;
427 
433  PHYSXSCHEMA_API
434  UsdAttribute CreateUpdateTypeAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
435 
436 public:
437  // --------------------------------------------------------------------- //
438  // ENABLEGPUDYNAMICS
439  // --------------------------------------------------------------------- //
447  PHYSXSCHEMA_API
448  UsdAttribute GetEnableGPUDynamicsAttr() const;
449 
455  PHYSXSCHEMA_API
456  UsdAttribute CreateEnableGPUDynamicsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
457 
458 public:
459  // --------------------------------------------------------------------- //
460  // ENABLEENHANCEDDETERMINISM
461  // --------------------------------------------------------------------- //
469  PHYSXSCHEMA_API
470  UsdAttribute GetEnableEnhancedDeterminismAttr() const;
471 
477  PHYSXSCHEMA_API
478  UsdAttribute CreateEnableEnhancedDeterminismAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
479 
480 public:
481  // --------------------------------------------------------------------- //
482  // ENABLERESIDUALREPORTING
483  // --------------------------------------------------------------------- //
491  PHYSXSCHEMA_API
492  UsdAttribute GetEnableResidualReportingAttr() const;
493 
499  PHYSXSCHEMA_API
500  UsdAttribute CreateEnableResidualReportingAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
501 
502 public:
503  // --------------------------------------------------------------------- //
504  // ENABLEEXTERNALFORCESEVERYITERATION
505  // --------------------------------------------------------------------- //
513  PHYSXSCHEMA_API
514  UsdAttribute GetEnableExternalForcesEveryIterationAttr() const;
515 
521  PHYSXSCHEMA_API
522  UsdAttribute CreateEnableExternalForcesEveryIterationAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
523 
524 public:
525  // --------------------------------------------------------------------- //
526  // ENABLESCENEQUERYSUPPORT
527  // --------------------------------------------------------------------- //
535  PHYSXSCHEMA_API
536  UsdAttribute GetEnableSceneQuerySupportAttr() const;
537 
543  PHYSXSCHEMA_API
544  UsdAttribute CreateEnableSceneQuerySupportAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
545 
546 public:
547  // --------------------------------------------------------------------- //
548  // TIMESTEPSPERSECOND
549  // --------------------------------------------------------------------- //
559  PHYSXSCHEMA_API
560  UsdAttribute GetTimeStepsPerSecondAttr() const;
561 
567  PHYSXSCHEMA_API
568  UsdAttribute CreateTimeStepsPerSecondAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
569 
570 public:
571  // --------------------------------------------------------------------- //
572  // GPUTEMPBUFFERCAPACITY
573  // --------------------------------------------------------------------- //
581  PHYSXSCHEMA_API
582  UsdAttribute GetGpuTempBufferCapacityAttr() const;
583 
589  PHYSXSCHEMA_API
590  UsdAttribute CreateGpuTempBufferCapacityAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
591 
592 public:
593  // --------------------------------------------------------------------- //
594  // GPUMAXRIGIDCONTACTCOUNT
595  // --------------------------------------------------------------------- //
603  PHYSXSCHEMA_API
604  UsdAttribute GetGpuMaxRigidContactCountAttr() const;
605 
611  PHYSXSCHEMA_API
612  UsdAttribute CreateGpuMaxRigidContactCountAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
613 
614 public:
615  // --------------------------------------------------------------------- //
616  // GPUMAXRIGIDPATCHCOUNT
617  // --------------------------------------------------------------------- //
625  PHYSXSCHEMA_API
626  UsdAttribute GetGpuMaxRigidPatchCountAttr() const;
627 
633  PHYSXSCHEMA_API
634  UsdAttribute CreateGpuMaxRigidPatchCountAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
635 
636 public:
637  // --------------------------------------------------------------------- //
638  // GPUHEAPCAPACITY
639  // --------------------------------------------------------------------- //
647  PHYSXSCHEMA_API
648  UsdAttribute GetGpuHeapCapacityAttr() const;
649 
655  PHYSXSCHEMA_API
656  UsdAttribute CreateGpuHeapCapacityAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
657 
658 public:
659  // --------------------------------------------------------------------- //
660  // GPUFOUNDLOSTPAIRSCAPACITY
661  // --------------------------------------------------------------------- //
669  PHYSXSCHEMA_API
670  UsdAttribute GetGpuFoundLostPairsCapacityAttr() const;
671 
677  PHYSXSCHEMA_API
678  UsdAttribute CreateGpuFoundLostPairsCapacityAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
679 
680 public:
681  // --------------------------------------------------------------------- //
682  // GPUFOUNDLOSTAGGREGATEPAIRSCAPACITY
683  // --------------------------------------------------------------------- //
691  PHYSXSCHEMA_API
692  UsdAttribute GetGpuFoundLostAggregatePairsCapacityAttr() const;
693 
699  PHYSXSCHEMA_API
700  UsdAttribute CreateGpuFoundLostAggregatePairsCapacityAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
701 
702 public:
703  // --------------------------------------------------------------------- //
704  // GPUTOTALAGGREGATEPAIRSCAPACITY
705  // --------------------------------------------------------------------- //
713  PHYSXSCHEMA_API
714  UsdAttribute GetGpuTotalAggregatePairsCapacityAttr() const;
715 
721  PHYSXSCHEMA_API
722  UsdAttribute CreateGpuTotalAggregatePairsCapacityAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
723 
724 public:
725  // --------------------------------------------------------------------- //
726  // GPUMAXSOFTBODYCONTACTS
727  // --------------------------------------------------------------------- //
735  PHYSXSCHEMA_API
736  UsdAttribute GetGpuMaxSoftBodyContactsAttr() const;
737 
743  PHYSXSCHEMA_API
744  UsdAttribute CreateGpuMaxSoftBodyContactsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
745 
746 public:
747  // --------------------------------------------------------------------- //
748  // GPUMAXDEFORMABLESURFACECONTACTS
749  // --------------------------------------------------------------------- //
757  PHYSXSCHEMA_API
758  UsdAttribute GetGpuMaxDeformableSurfaceContactsAttr() const;
759 
765  PHYSXSCHEMA_API
766  UsdAttribute CreateGpuMaxDeformableSurfaceContactsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
767 
768 public:
769  // --------------------------------------------------------------------- //
770  // GPUMAXPARTICLECONTACTS
771  // --------------------------------------------------------------------- //
779  PHYSXSCHEMA_API
780  UsdAttribute GetGpuMaxParticleContactsAttr() const;
781 
787  PHYSXSCHEMA_API
788  UsdAttribute CreateGpuMaxParticleContactsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
789 
790 public:
791  // --------------------------------------------------------------------- //
792  // GPUMAXHAIRCONTACTS
793  // --------------------------------------------------------------------- //
801  PHYSXSCHEMA_API
802  UsdAttribute GetGpuMaxHairContactsAttr() const;
803 
809  PHYSXSCHEMA_API
810  UsdAttribute CreateGpuMaxHairContactsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
811 
812 public:
813  // --------------------------------------------------------------------- //
814  // GPUMAXNUMPARTITIONS
815  // --------------------------------------------------------------------- //
823  PHYSXSCHEMA_API
824  UsdAttribute GetGpuMaxNumPartitionsAttr() const;
825 
831  PHYSXSCHEMA_API
832  UsdAttribute CreateGpuMaxNumPartitionsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
833 
834 public:
835  // --------------------------------------------------------------------- //
836  // GPUCOLLISIONSTACKSIZE
837  // --------------------------------------------------------------------- //
845  PHYSXSCHEMA_API
846  UsdAttribute GetGpuCollisionStackSizeAttr() const;
847 
853  PHYSXSCHEMA_API
854  UsdAttribute CreateGpuCollisionStackSizeAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
855 
856 public:
857  // --------------------------------------------------------------------- //
858  // INVERTCOLLISIONGROUPFILTER
859  // --------------------------------------------------------------------- //
872  PHYSXSCHEMA_API
873  UsdAttribute GetInvertCollisionGroupFilterAttr() const;
874 
880  PHYSXSCHEMA_API
881  UsdAttribute CreateInvertCollisionGroupFilterAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
882 
883 public:
884  // --------------------------------------------------------------------- //
885  // REPORTKINEMATICKINEMATICPAIRS
886  // --------------------------------------------------------------------- //
895  PHYSXSCHEMA_API
896  UsdAttribute GetReportKinematicKinematicPairsAttr() const;
897 
903  PHYSXSCHEMA_API
904  UsdAttribute CreateReportKinematicKinematicPairsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
905 
906 public:
907  // --------------------------------------------------------------------- //
908  // REPORTKINEMATICSTATICPAIRS
909  // --------------------------------------------------------------------- //
918  PHYSXSCHEMA_API
919  UsdAttribute GetReportKinematicStaticPairsAttr() const;
920 
926  PHYSXSCHEMA_API
927  UsdAttribute CreateReportKinematicStaticPairsAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
928 
929 public:
930  // --------------------------------------------------------------------- //
931  // MINPOSITIONITERATIONCOUNT
932  // --------------------------------------------------------------------- //
942  PHYSXSCHEMA_API
943  UsdAttribute GetMinPositionIterationCountAttr() const;
944 
950  PHYSXSCHEMA_API
951  UsdAttribute CreateMinPositionIterationCountAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
952 
953 public:
954  // --------------------------------------------------------------------- //
955  // MAXPOSITIONITERATIONCOUNT
956  // --------------------------------------------------------------------- //
967  PHYSXSCHEMA_API
968  UsdAttribute GetMaxPositionIterationCountAttr() const;
969 
975  PHYSXSCHEMA_API
976  UsdAttribute CreateMaxPositionIterationCountAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
977 
978 public:
979  // --------------------------------------------------------------------- //
980  // MINVELOCITYITERATIONCOUNT
981  // --------------------------------------------------------------------- //
991  PHYSXSCHEMA_API
992  UsdAttribute GetMinVelocityIterationCountAttr() const;
993 
999  PHYSXSCHEMA_API
1000  UsdAttribute CreateMinVelocityIterationCountAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
1001 
1002 public:
1003  // --------------------------------------------------------------------- //
1004  // MAXVELOCITYITERATIONCOUNT
1005  // --------------------------------------------------------------------- //
1016  PHYSXSCHEMA_API
1017  UsdAttribute GetMaxVelocityIterationCountAttr() const;
1018 
1024  PHYSXSCHEMA_API
1025  UsdAttribute CreateMaxVelocityIterationCountAttr(VtValue const &defaultValue = VtValue(), bool writeSparsely=false) const;
1026 
1027 public:
1028  // ===================================================================== //
1029  // Feel free to add custom code below this line, it will be preserved by
1030  // the code generator.
1031  //
1032  // Just remember to:
1033  // - Close the class declaration with };
1034  // - Close the namespace with PXR_NAMESPACE_CLOSE_SCOPE
1035  // - Close the include guard with #endif
1036  // ===================================================================== //
1037  // --(BEGIN CUSTOM CODE)--
1038 };
1039 
1040 PXR_NAMESPACE_CLOSE_SCOPE
1041 
1042 #endif
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 .
Definition: physxSceneAPI.h:75
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.
Definition: physxSceneAPI.h:69
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.
Definition: physxSceneAPI.h:63
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 .
Definition: physxSceneAPI.h:83
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...