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

Configuration data for CapsuleShapeComponent. More...

#include <CapsuleShapeComponentBus.h>

Inherits LmbrCentral::ShapeComponentConfig.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CapsuleShapeConfig, AZ::SystemAllocator)
 
 AZ_RTTI (CapsuleShapeConfig, "{00931AEB-2AD8-42CE-B1DC-FA4332F51501}", 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.0f
 The end to end height of capsule, this includes the cylinder and both caps.
 
float m_radius = 0.25f
 The radius of this capsule.
 
AZ::Vector3 m_translationOffset = AZ::Vector3::CreateZero()
 Translation offset from the entity position.
 

Detailed Description

Configuration data for CapsuleShapeComponent.


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