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

Inherits LmbrCentral::ShapeComponentRequestsBus::Handler, TubeShapeComponentRequestsBus::Handler, SplineComponentNotificationBus::Handler, and AZ::TransformNotificationBus::Handler.

Public Member Functions

 TubeShape (const TubeShape &rhs)
 
void Activate (AZ::EntityId entityId)
 
void Deactivate ()
 
AZ::Crc32 GetShapeType () const override
 
AZ::Aabb GetEncompassingAabb () const override
 
void GetTransformAndLocalBounds (AZ::Transform &transform, AZ::Aabb &bounds) const override
 
bool IsPointInside (const AZ::Vector3 &point) const override
 
float DistanceFromPoint (const AZ::Vector3 &point) const override
 
float DistanceSquaredFromPoint (const AZ::Vector3 &point) const override
 
bool IntersectRay (const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) const override
 
void SetRadius (float radius) override
 
float GetRadius () const override
 
float GetVariableRadius (int vertIndex) const override
 
void SetVariableRadius (int vertIndex, float radius) override
 
void SetAllVariableRadii (float radius) override
 
float GetTotalRadius (const AZ::SplineAddress &address) const override
 
const SplineAttribute< float > & GetRadiusAttribute () const override
 
AZ::SplinePtr GetSpline ()
 
AZ::ConstSplinePtr GetConstSpline () const
 
const AZ::Transform & GetCurrentTransform () const
 

Static Public Member Functions

static void Reflect (AZ::SerializeContext &context)
 

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