24 #ifndef PHYSXSCHEMA_GENERATED_PHYSXCHARACTERCONTROLLERAPI_H
25 #define PHYSXSCHEMA_GENERATED_PHYSXCHARACTERCONTROLLERAPI_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
68 static const UsdSchemaType
schemaType = UsdSchemaType::SingleApplyAPI;
75 : UsdAPISchemaBase(prim)
83 : UsdAPISchemaBase(schemaObj)
95 static const TfTokenVector &
109 Get(
const UsdStagePtr &stage,
const SdfPath &path);
128 Apply(
const UsdPrim &prim);
139 friend class UsdSchemaRegistry;
141 static const TfType &_GetStaticTfType();
143 static bool _IsTypedSchema();
147 const TfType &_GetTfType()
const override;
170 UsdAttribute
CreateSlopeLimitAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
192 UsdAttribute
CreateMoveTargetAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
216 UsdAttribute
CreateUpAxisAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
264 UsdAttribute
CreateClimbingModeAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
360 UsdAttribute
CreateStepOffsetAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
384 UsdAttribute
CreateScaleCoeffAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
408 UsdAttribute
CreateVolumeGrowthAttr(VtValue
const &defaultValue = VtValue(),
bool writeSparsely=
false)
const;
438 PXR_NAMESPACE_CLOSE_SCOPE
PhysxSchemaPhysxCharacterControllerAPI(const UsdSchemaBase &schemaObj)
Construct a PhysxSchemaPhysxCharacterControllerAPI on the prim held by schemaObj .
PhysxCharacterControllerAPI can be applied to a capsuleGeom.
PhysxSchemaPhysxCharacterControllerAPI(const UsdPrim &prim=UsdPrim())
Construct a PhysxSchemaPhysxCharacterControllerAPI on UsdPrim prim .
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
PHYSXSCHEMA_API UsdAttribute GetVolumeGrowthAttr() const
Cached volume growth.
PHYSXSCHEMA_API UsdAttribute CreateNonWalkableModeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetNonWalkableModeAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetInvisibleWallHeightAttr() const
Height of invisible walls created around non-walkable triangles.
PHYSXSCHEMA_API UsdAttribute GetContactOffsetAttr() const
The contact offset used by the controller.
PHYSXSCHEMA_API UsdAttribute GetSlopeLimitAttr() const
Slope limit which the CCT can climb.
PHYSXSCHEMA_API UsdAttribute CreateStepOffsetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetStepOffsetAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetStepOffsetAttr() const
Defines the maximum height of an obstacle which the character can climb.
PHYSXSCHEMA_API UsdAttribute CreateContactOffsetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetContactOffsetAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetClimbingModeAttr() const
The climbing mode.
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 CreateMoveTargetAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMoveTargetAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetMoveTargetAttr() const
Desired target position that CCT should try to reach.
PHYSXSCHEMA_API UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
PHYSXSCHEMA_API UsdAttribute GetNonWalkableModeAttr() const
The non-walkable mode controls if a character controller slides or not on a non-walkable part...
PHYSXSCHEMA_API UsdAttribute CreateInvisibleWallHeightAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetInvisibleWallHeightAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdRelationship CreateSimulationOwnerRel() const
See GetSimulationOwnerRel(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateScaleCoeffAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetScaleCoeffAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute CreateSlopeLimitAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetSlopeLimitAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdRelationship GetSimulationOwnerRel() const
Single PhysicsScene that simulates this character controller.
virtual PHYSXSCHEMA_API ~PhysxSchemaPhysxCharacterControllerAPI()
Destructor.
PHYSXSCHEMA_API UsdAttribute GetScaleCoeffAttr() const
Scale coefficient for underlying kinematic actor.
PHYSXSCHEMA_API UsdAttribute CreateVolumeGrowthAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetVolumeGrowthAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
PHYSXSCHEMA_API UsdAttribute GetUpAxisAttr() const
Up axis for stepping functionality.
PHYSXSCHEMA_API UsdAttribute CreateClimbingModeAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetClimbingModeAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...
static PHYSXSCHEMA_API PhysxSchemaPhysxCharacterControllerAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a PhysxSchemaPhysxCharacterControllerAPI holding the prim adhering to this schema at path on s...
PHYSXSCHEMA_API UsdAttribute GetMaxJumpHeightAttr() const
Maximum height a jumping character can reach.
PHYSXSCHEMA_API UsdAttribute CreateUpAxisAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetUpAxisAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create.
static PHYSXSCHEMA_API PhysxSchemaPhysxCharacterControllerAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
PHYSXSCHEMA_API UsdAttribute CreateMaxJumpHeightAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetMaxJumpHeightAttr(), and also Usd_Create_Or_Get_Property for when to use Get vs Create...