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

Provide QuadShape functionality. More...

#include <QuadShape.h>

Inherits ShapeComponentRequestsBus::Handler, QuadShapeComponentRequestBus::Handler, and AZ::TransformNotificationBus::Handler.

Public Member Functions

 AZ_CLASS_ALLOCATOR (QuadShape, AZ::SystemAllocator)
 
 AZ_RTTI (LmbrCentral::QuadShape, "{4DCA67DA-5CBB-4E6C-8DA2-2B8CB177A301}")
 
void Activate (AZ::EntityId entityId)
 
void Deactivate ()
 
void InvalidateCache (InvalidateShapeCacheReason reason)
 
AZ::Crc32 GetShapeType () override
 ShapeComponentRequestsBus overrides...
 
AZ::Aabb GetEncompassingAabb () override
 
void GetTransformAndLocalBounds (AZ::Transform &transform, AZ::Aabb &bounds) override
 
bool IsPointInside (const AZ::Vector3 &point) override
 
float DistanceSquaredFromPoint (const AZ::Vector3 &point) override
 
bool IntersectRay (const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) override
 
QuadShapeConfig GetQuadConfiguration () override
 QuadShapeComponentRequestBus overrides...
 
void SetQuadWidth (float width) override
 
float GetQuadWidth () override
 
void SetQuadHeight (float height) override
 
float GetQuadHeight () override
 
const AZ::Quaternion & GetQuadOrientation () override
 
void OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override
 AZ::TransformNotificationBus overrides...
 
void OnNonUniformScaleChanged (const AZ::Vector3 &scale)
 
const AZ::Vector3 & GetCurrentNonUniformScale () const
 
const QuadShapeConfigGetQuadConfiguration () const
 
void SetQuadConfiguration (const QuadShapeConfig &quadShapeConfig)
 
const AZ::Transform & GetCurrentTransform () const
 
AZStd::array< AZ::Vector3, 4 > GetLocalSpaceCorners ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

ShapeComponentConfigModifyShapeComponent ()
 

Friends

class EditorQuadShapeComponent
 

Detailed Description

Provide QuadShape functionality.


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