#include <ReferenceShapeComponent.h>
Inherits AZ::Component, AZ::EntityBus::Handler, AZ::TransformNotificationBus::Handler, LmbrCentral::ShapeComponentNotificationsBus::Handler, LmbrCentral::ShapeComponentRequestsBus::Handler, and ReferenceShapeRequestBus::Handler.
Public Member Functions | |
AZ_COMPONENT (ReferenceShapeComponent, ReferenceShapeComponentTypeId) | |
ReferenceShapeComponent (const ReferenceShapeConfig &configuration) | |
void | Activate () override |
void | Deactivate () override |
bool | ReadInConfig (const AZ::ComponentConfig *baseConfig) override |
bool | WriteOutConfig (AZ::ComponentConfig *outBaseConfig) const override |
void | OnEntityActivated (const AZ::EntityId &entityId) override |
void | OnEntityDeactivated (const AZ::EntityId &entityId) override |
void | OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override |
void | OnShapeChanged (LmbrCentral::ShapeComponentNotifications::ShapeChangeReasons reasons) override |
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 | DistanceFromPoint (const AZ::Vector3 &point) override |
float | DistanceSquaredFromPoint (const AZ::Vector3 &point) override |
AZ::Vector3 | GenerateRandomPointInside (AZ::RandomDistributionType randomDistribution) override |
bool | IntersectRay (const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) override |
Protected Member Functions | |
AZ::EntityId | GetShapeEntityId () const override |
void | SetShapeEntityId (AZ::EntityId entityId) override |
Friends | |
template<typename , typename > | |
class | LmbrCentral::EditorWrappedComponentBase |
allows reference and reuse of shape entities