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

Configuration data for BoxShapeComponent. More...

#include <BoxShapeComponentBus.h>

Inherits LmbrCentral::ShapeComponentConfig.

Public Member Functions

 BoxShapeConfig (const AZ::Vector3 &dimensions)
 
void SetDimensions (const AZ::Vector3 &dimensions)
 
AZ::Vector3 GetDimensions () 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

AZ::Vector3 m_dimensions = AZ::Vector3::CreateOne()
 Stores the dimensions of the box along each axis.
 
AZ::Vector3 m_translationOffset = AZ::Vector3::CreateZero()
 Translation offset from the entity position.
 

Detailed Description

Configuration data for BoxShapeComponent.


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