Open 3D Engine LmbrCentral Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
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. | |
Configuration data for SphereShapeComponent.