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

Configuration data for CylinderShapeComponent. More...

#include <CylinderShapeComponentBus.h>

Inherits LmbrCentral::ShapeComponentConfig.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CylinderShapeConfig, AZ::SystemAllocator)
 
 AZ_RTTI (CylinderShapeConfig, "{53254779-82F1-441E-9116-81E1FACFECF4}", ComponentConfig)
 
void SetHeight (float height)
 
float GetHeight () const
 
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_height = 1.f
 The height of this cylinder.
 
float m_radius = 0.5f
 The radius of this cylinder.
 

Detailed Description

Configuration data for CylinderShapeComponent.


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