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::SphereShapeConfiguration Class Reference

Inherits Physics::ShapeConfiguration.

Public Member Functions

 AZ_CLASS_ALLOCATOR (SphereShapeConfiguration, AZ::SystemAllocator)
 
 AZ_RTTI (SphereShapeConfiguration, "{0B9F3D2E-0780-4B0B-BFEE-B41C5FDE774A}", ShapeConfiguration)
 
 SphereShapeConfiguration (float radius=ShapeConstants::DefaultSphereRadius, const AZ::Vector3 &scale=ShapeConstants::DefaultScale)
 
ShapeType GetShapeType () const override
 
AZ::Sphere ToSphere (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_radius = ShapeConstants::DefaultSphereRadius
 
- Public Attributes inherited from Physics::ShapeConfiguration
AZ::Vector3 m_scale = ShapeConstants::DefaultScale
 

Member Function Documentation

◆ GetShapeType()

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

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