Provide DiskShape functionality. More...
#include <DiskShape.h>
Inherits ShapeComponentRequestsBus::Handler, DiskShapeComponentRequestBus::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 |
DiskShapeConfig | GetDiskConfiguration () override |
void | SetRadius (float radius) override |
float | GetRadius () override |
const AZ::Vector3 & | GetNormal () override |
void | OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override |
const DiskShapeConfig & | GetDiskConfiguration () const |
void | SetDiskConfiguration (const DiskShapeConfig &diskShapeConfig) |
const AZ::Transform & | GetCurrentTransform () const |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Protected Member Functions | |
ShapeComponentConfig & | ModifyShapeComponent () |
Friends | |
class | EditorDiskShapeComponent |
Provide DiskShape functionality.