Open 3D Engine LmbrCentral Gem 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.
LmbrCentral::SphereShapeConfig Class Reference

Configuration data for SphereShapeComponent. More...

#include <SphereShapeComponentBus.h>

Inherits LmbrCentral::ShapeComponentConfig.

Public Member Functions

 AZ_CLASS_ALLOCATOR (SphereShapeConfig, AZ::SystemAllocator)
 
 AZ_RTTI (SphereShapeConfig, "{4AADFD75-48A7-4F31-8F30-FE4505F09E35}", ShapeComponentConfig)
 
 SphereShapeConfig (float radius)
 
void SetRadius (float radius)
 
float GetRadius () const
 
- Public Member Functions inherited from LmbrCentral::ShapeComponentConfig
 AZ_CLASS_ALLOCATOR (ShapeComponentConfig, AZ::SystemAllocator)
 
 AZ_RTTI (ShapeComponentConfig, "{32683353-0EF5-4FBC-ACA7-E220C58F60F5}", AZ::ComponentConfig)
 
void SetDrawColor (const AZ::Color &drawColor)
 
const AZ::Color & GetDrawColor () const
 
void SetIsFilled (bool isFilled)
 
bool IsFilled () const
 
ShapeDrawParams GetDrawParams () const
 

Static Public Member Functions

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

Public Attributes

float m_radius = 0.5f
 
AZ::Vector3 m_translationOffset = AZ::Vector3::CreateZero()
 Translation offset from the entity position.
 

Detailed Description

Configuration data for SphereShapeComponent.


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