Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Physics::CapsuleShapeConfiguration Class Reference

Inherits Physics::ShapeConfiguration.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CapsuleShapeConfiguration, AZ::SystemAllocator)
 
 AZ_RTTI (CapsuleShapeConfiguration, "{19C6A07E-5644-46B7-A49E-48703B56ED32}", ShapeConfiguration)
 
 CapsuleShapeConfiguration (float height=ShapeConstants::DefaultCapsuleHeight, float radius=ShapeConstants::DefaultCapsuleRadius, const AZ::Vector3 &scale=ShapeConstants::DefaultScale)
 
ShapeType GetShapeType () const override
 
AZ::Capsule ToCapsule (const AZ::Transform &transform=AZ::Transform::CreateIdentity()) const
 
- Public Member Functions inherited from Physics::ShapeConfiguration
 AZ_CLASS_ALLOCATOR (ShapeConfiguration, AZ::SystemAllocator)
 
 AZ_RTTI (ShapeConfiguration, "{1FD56C72-6055-4B35-9253-07D432B94E91}")
 
 ShapeConfiguration (const AZ::Vector3 &scale=ShapeConstants::DefaultScale)
 
virtual ShapeType GetShapeType () const =0
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from Physics::ShapeConfiguration
static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

float m_height = ShapeConstants::DefaultCapsuleHeight
 Total height, including hemispherical caps, oriented along z-axis.
 
float m_radius = ShapeConstants::DefaultCapsuleRadius
 
- Public Attributes inherited from Physics::ShapeConfiguration
AZ::Vector3 m_scale = ShapeConstants::DefaultScale
 

Member Function Documentation

◆ GetShapeType()

ShapeType Physics::CapsuleShapeConfiguration::GetShapeType ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following file: