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.
|
#include <EditorPrismaticJointComponent.h>
Inherits PhysX::EditorJointComponent.
Public Member Functions | |
AZ_EDITOR_COMPONENT (EditorPrismaticJointComponent, "{607B246E-C2DB-4D43-ABFA-A5A3994867C5}", EditorJointComponent) | |
void | Activate () override |
void | Deactivate () override |
void | BuildGameEntity (AZ::Entity *gameEntity) override |
Public Member Functions inherited from PhysX::EditorJointComponent | |
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) |
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) |
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
Static Public Member Functions inherited from PhysX::EditorJointComponent | |
static void | Reflect (AZ::ReflectContext *context) |
Additional Inherited Members | |
Protected Member Functions inherited from PhysX::EditorJointComponent | |
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 inherited from PhysX::EditorJointComponent | |
EditorJointConfig | m_config |
AZ::Transform | m_cachedWorldTM |
Provides functionality for modifying and visualizing prismatic joints in the editor. Prismatic joints allow no rotation, but allow sliding along a direction aligned with the x-axis of both bodies' joint frames.