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.
PhysX::EditorJointComponent Class Reference

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 &parameterName) override
 
AZ::EntityId GetEntityIdValue (const AZStd::string &parameterName) override
 
float GetLinearValue (const AZStd::string &parameterName) override
 
AngleLimitsFloatPair GetLinearValuePair (const AZStd::string &parameterName) override
 
AZ::Transform GetTransformValue (const AZStd::string &parameterName) override
 
AZ::Vector3 GetVector3Value (const AZStd::string &parameterName) override
 
AZStd::vector< JointsComponentModeCommon::SubModeParameterStateGetSubComponentModesState () override
 
void SetBoolValue (const AZStd::string &parameterName, bool value) override
 
void SetEntityIdValue (const AZStd::string &parameterName, AZ::EntityId value) override
 
void SetLinearValue (const AZStd::string &parameterName, float value) override
 
void SetLinearValuePair (const AZStd::string &parameterName, const AngleLimitsFloatPair &valuePair) override
 
void SetVector3Value (const AZStd::string &parameterName, const AZ::Vector3 &value) override
 
void DisplayEntityViewport (const AzFramework::ViewportInfo &viewportInfo, AzFramework::DebugDisplayRequests &debugDisplay) override
 

Protected Attributes

EditorJointConfig m_config
 
AZ::Transform m_cachedWorldTM
 

Detailed Description

Base class for editor joint components.


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