Request bus for colliders using primitive shapes.
More...
#include <EditorColliderComponentRequestBus.h>
Inherits AZ::EntityComponentBus.
Request bus for colliders using primitive shapes.
◆ GetBoxDimensions()
virtual AZ::Vector3 PhysX::EditorPrimitiveColliderComponentRequests::GetBoxDimensions |
( |
| ) |
const |
|
pure virtual |
Get the X/Y/Z dimensions of the box collider.
- Returns
- The X/Y/Z dimensions of the box collider.
◆ GetCapsuleHeight()
virtual float PhysX::EditorPrimitiveColliderComponentRequests::GetCapsuleHeight |
( |
| ) |
const |
|
pure virtual |
Gets the height of the capsule collider.
- Returns
- The height of the capsule collider.
◆ GetCapsuleRadius()
virtual float PhysX::EditorPrimitiveColliderComponentRequests::GetCapsuleRadius |
( |
| ) |
const |
|
pure virtual |
Gets the radius of the capsule collider.
- Returns
- The radius of the capsule collider.
◆ GetCylinderHeight()
virtual float PhysX::EditorPrimitiveColliderComponentRequests::GetCylinderHeight |
( |
| ) |
const |
|
pure virtual |
Gets the height of the cylinder collider.
- Returns
- The height of the cylinder collider.
◆ GetCylinderRadius()
virtual float PhysX::EditorPrimitiveColliderComponentRequests::GetCylinderRadius |
( |
| ) |
const |
|
pure virtual |
Gets the radius of the cylinder collider.
- Returns
- The radius of the cylinder collider.
◆ GetCylinderSubdivisionCount()
virtual AZ::u8 PhysX::EditorPrimitiveColliderComponentRequests::GetCylinderSubdivisionCount |
( |
| ) |
const |
|
pure virtual |
Gets the subdivision count of the cylinder collider.
- Returns
- The subdivision count of the cylinder collider.
◆ GetSphereRadius()
virtual float PhysX::EditorPrimitiveColliderComponentRequests::GetSphereRadius |
( |
| ) |
const |
|
pure virtual |
Gets the radius of the sphere collider.
- Returns
- The radius of the sphere collider.
◆ SetBoxDimensions()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetBoxDimensions |
( |
const AZ::Vector3 & |
dimensions | ) |
|
|
pure virtual |
Set the X/Y/Z dimensions of the box collider.
- Parameters
-
dimensions | The X/Y/Z dimensions of the box collider. |
◆ SetCapsuleHeight()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetCapsuleHeight |
( |
float |
height | ) |
|
|
pure virtual |
Sets the height of the capsule collider.
- Parameters
-
radius | The height of the capsule collider. |
◆ SetCapsuleRadius()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetCapsuleRadius |
( |
float |
radius | ) |
|
|
pure virtual |
Sets the radius of the capsule collider.
- Parameters
-
radius | The radius of the capsule collider. |
◆ SetCylinderHeight()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetCylinderHeight |
( |
float |
height | ) |
|
|
pure virtual |
Sets the height of the cylinder collider.
- Parameters
-
radius | The height of the cylinder collider. |
◆ SetCylinderRadius()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetCylinderRadius |
( |
float |
radius | ) |
|
|
pure virtual |
Sets the radius of the cylinder collider.
- Parameters
-
radius | The radius of the cylinder collider. |
◆ SetCylinderSubdivisionCount()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetCylinderSubdivisionCount |
( |
AZ::u8 |
subdivisionCount | ) |
|
|
pure virtual |
Sets the subdivision count of the cylinder collider.
- Parameters
-
radius | The subdivision count of the cylinder collider. |
◆ SetShapeType()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetShapeType |
( |
Physics::ShapeType |
| ) |
|
|
pure virtual |
Sets the shape type on the collider.
- Parameters
-
The | collider's shape type. |
◆ SetSphereRadius()
virtual void PhysX::EditorPrimitiveColliderComponentRequests::SetSphereRadius |
( |
float |
radius | ) |
|
|
pure virtual |
Sets the radius of the sphere collider.
- Parameters
-
radius | The radius of the sphere collider. |
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/Include/PhysX/EditorColliderComponentRequestBus.h