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.
LmbrCentral::CylinderShape Class Reference

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

Public Member Functions

void Activate (AZ::EntityId entityId)
 
void Deactivate ()
 
void InvalidateCache (InvalidateShapeCacheReason reason)
 
AZ::Crc32 GetShapeType () const override
 
bool IsPointInside (const AZ::Vector3 &point) const override
 
float DistanceSquaredFromPoint (const AZ::Vector3 &point) const override
 
AZ::Aabb GetEncompassingAabb () const override
 
void GetTransformAndLocalBounds (AZ::Transform &transform, AZ::Aabb &bounds) const override
 
AZ::Vector3 GenerateRandomPointInside (AZ::RandomDistributionType randomDistribution) const override
 
bool IntersectRay (const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) const override
 
const CylinderShapeConfigGetCylinderConfiguration () const override
 
void SetHeight (float height) override
 
void SetRadius (float radius) override
 
float GetHeight () const override
 
float GetRadius () const override
 
void OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override
 
void SetCylinderConfiguration (const CylinderShapeConfig &cylinderShapeConfig)
 
const AZ::Transform & GetCurrentTransform () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

CylinderShapeConfigModifyConfiguration ()
 

Friends

class EditorCylinderShapeComponent
 

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