Open 3D Engine EMotionFX 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.
EMotionFX::SimulatedObjectWidget Class Reference

Inherits EMStudio::DockWidgetPlugin, EMotionFX::SkeletonOutlinerNotificationBus::Handler, EMotionFX::SimulatedObjectRequestBus::Handler, and EMotionFX::ActorEditorNotificationBus::Handler.

Public Types

enum  { CLASS_ID = 0x00861164 }
 
- Public Types inherited from EMStudio::EMStudioPlugin
enum  EPluginType { PLUGINTYPE_WINDOW = 0 , PLUGINTYPE_TOOLBAR = 1 , PLUGINTYPE_RENDERING = 2 }
 

Public Slots

void OnContextMenu (const QPoint &position)
 
void OnRemoveSimulatedObject (const QModelIndex &objectIndex)
 
void OnRemoveSimulatedJoint (const QModelIndex &jointIndex, bool removeChildren)
 
void OnRemoveSimulatedJoints (const QModelIndexList &jointIndices)
 
void OnAddCollider ()
 
void OnAddColliderByType (const AZ::TypeId &colliderType)
 
void OnClearColliders ()
 

Public Member Functions

 SimulatedObjectWidget (const SimulatedObjectWidget &)=delete
 
 SimulatedObjectWidget (SimulatedObjectWidget &&)=delete
 
SimulatedObjectWidgetoperator= (const SimulatedObjectWidget &)=delete
 
SimulatedObjectWidgetoperator= (SimulatedObjectWidget &&)=delete
 
const char * GetName () const override
 
uint32 GetClassID () const override
 
bool GetIsClosable () const override
 
bool GetIsFloatable () const override
 
bool GetIsVertical () const override
 
EMStudioPlugin * Clone () const override
 
bool Init () override
 
void Reinit ()
 
void Render (EMotionFX::ActorRenderFlags renderFlags) override
 Render function will call atom auxGeom internally to render. This is the replacement for LegacyRender function.
 
void RenderJointRadius (const SimulatedJoint *joint, ActorInstance *actorInstance, const AZ::Color &color)
 
SimulatedObjectModelGetSimulatedObjectModel () const
 
SimulatedJointWidgetGetSimulatedJointWidget () const
 
void ScrollTo (const QModelIndex &index)
 
void OnContextMenu (QMenu *menu, const QModelIndexList &selectedRowIndices) override
 
void UpdateWidget () override
 
void ActorSelectionChanged (Actor *actor) override
 
void ActorInstanceSelectionChanged (EMotionFX::ActorInstance *actorInstance) override
 
EMStudio::SimulatedObjectActionManagerGetActionManager () const
 
ActorGetActor () const
 
ActorInstanceGetActorInstance () const
 
NodeGetNode () const
 
Physics::CharacterColliderNodeConfiguration * GetNodeConfig () const
 
QModelIndexList GetSelectedModelIndices () const
 
- Public Member Functions inherited from EMStudio::DockWidgetPlugin
EMStudioPlugin::EPluginType GetPluginType () const override
 
void OnMainWindowClosed () override
 
virtual bool GetIsMovable () const
 
virtual void SetInterfaceTitle (const char *name)
 
void CreateBaseInterface (const char *objectName) override
 
QString GetObjectName () const override
 
void SetObjectName (const QString &name) override
 
virtual QSize GetInitialWindowSize () const
 
bool GetHasWindowWithObjectName (const AZStd::string &objectName) override
 
QDockWidget * GetDockWidget ()
 
- Public Member Functions inherited from EMStudio::EMStudioPlugin
virtual void Reflect (AZ::ReflectContext *)
 
virtual void OnAfterLoadLayout ()
 
virtual void OnAfterLoadProject ()
 
virtual void OnAfterLoadActors ()
 
virtual void OnBeforeRemovePlugin (uint32 classID)
 
virtual PluginOptionsGetOptions ()
 
virtual void WriteLayoutData (MCore::MemoryFile &outFile)
 
virtual bool ReadLayoutSettings (QFile &file, uint32 dataSize, uint32 dataVersion)
 
virtual uint32 GetLayoutDataVersion () const
 
virtual void ProcessFrame (float timePassedInSeconds)
 
virtual uint32 GetProcessFramePriority () const
 
bool operator< (const EMStudioPlugin &plugin)
 
bool operator> (const EMStudioPlugin &plugin)
 
virtual bool AllowMultipleInstances () const
 
virtual void AddWindowMenuEntries ([[maybe_unused]] QMenu *parent)
 

Additional Inherited Members

- Protected Member Functions inherited from EMStudio::DockWidgetPlugin
QWidget * CreateErrorContentWidget (const char *errorMessage) const
 
- Protected Attributes inherited from EMStudio::DockWidgetPlugin
QPointer< QDockWidget > m_dock
 

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