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

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

Public Member Functions

void Activate (AZ::EntityId entityId)
 
void Deactivate ()
 
void InvalidateCache (InvalidateShapeCacheReason reason)
 
AZ::Crc32 GetShapeType () override
 
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
 
AZ::Vector3 GetTranslationOffset () const override
 
void SetTranslationOffset (const AZ::Vector3 &translationOffset) override
 
CapsuleShapeConfig GetCapsuleConfiguration () override
 
void SetHeight (float height) override
 
void SetRadius (float radius) override
 
CapsuleInternalEndPoints GetCapsulePoints () override
 
float GetHeight () override
 
float GetRadius () override
 
void OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override
 
const CapsuleShapeConfigGetCapsuleConfiguration () const
 
void SetCapsuleConfiguration (const CapsuleShapeConfig &capsuleShapeConfig)
 
const AZ::Transform & GetCurrentTransform () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

CapsuleShapeConfigModifyCapsuleConfiguration ()
 

Friends

class EditorCapsuleShapeComponent
 

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