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.
|
#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 () 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 |
AZ::Vector3 | GenerateRandomPointInside (AZ::RandomDistributionType randomDistribution) const override |
bool | IntersectRay (const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) const 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