Open 3D Engine PhysX 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.
|
Base class for editor joint components. More...
#include <EditorJointComponent.h>
Inherits AzToolsFramework::Components::EditorComponentBase, AZ::TransformNotificationBus::Handler, AzToolsFramework::EditorComponentSelectionRequestsBus::Handler, AzToolsFramework::EditorComponentSelectionNotificationsBus::Handler, PhysX::EditorJointRequestBus::Handler, AzFramework::EntityDebugDisplayEventBus::Handler, and AzFramework::BoundsRequestBus::Handler.
Inherited by PhysX::EditorBallJointComponent, PhysX::EditorFixedJointComponent, PhysX::EditorHingeJointComponent, and PhysX::EditorPrismaticJointComponent.
Public Member Functions | |
AZ_EDITOR_COMPONENT (EditorJointComponent, "{070CF18E-E328-43A6-9B76-F160CCD64B72}") | |
void | Activate () override |
void | Deactivate () override |
AZ::Aabb | GetWorldBounds () const override |
AZ::Aabb | GetLocalBounds () const override |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Protected Member Functions | |
void | OnTransformChanged (const AZ::Transform &localTM, const AZ::Transform &worldTM) override |
AZ::Aabb | GetEditorSelectionBoundsViewport (const AzFramework::ViewportInfo &viewportInfo) override |
bool | EditorSelectionIntersectRayViewport (const AzFramework::ViewportInfo &viewportInfo, const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) override |
bool | SupportsEditorRayIntersect () override |
bool | GetBoolValue (const AZStd::string ¶meterName) override |
AZ::EntityId | GetEntityIdValue (const AZStd::string ¶meterName) override |
float | GetLinearValue (const AZStd::string ¶meterName) override |
AngleLimitsFloatPair | GetLinearValuePair (const AZStd::string ¶meterName) override |
AZ::Transform | GetTransformValue (const AZStd::string ¶meterName) override |
AZ::Vector3 | GetVector3Value (const AZStd::string ¶meterName) override |
AZStd::vector< JointsComponentModeCommon::SubModeParameterState > | GetSubComponentModesState () override |
void | SetBoolValue (const AZStd::string ¶meterName, bool value) override |
void | SetEntityIdValue (const AZStd::string ¶meterName, AZ::EntityId value) override |
void | SetLinearValue (const AZStd::string ¶meterName, float value) override |
void | SetLinearValuePair (const AZStd::string ¶meterName, const AngleLimitsFloatPair &valuePair) override |
void | SetVector3Value (const AZStd::string ¶meterName, const AZ::Vector3 &value) override |
void | DisplayEntityViewport (const AzFramework::ViewportInfo &viewportInfo, AzFramework::DebugDisplayRequests &debugDisplay) override |
Protected Attributes | |
EditorJointConfig | m_config |
AZ::Transform | m_cachedWorldTM |
Base class for editor joint components.