Open 3D Engine EMotionFX Gem API Reference 23.10.0
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 GetIsClosable () const
 
virtual bool GetIsFloatable () const
 
virtual bool GetIsVertical () const
 
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 const char * GetName () const =0
 
virtual uint32 GetClassID () const =0
 
virtual void Reflect (AZ::ReflectContext *)
 
virtual bool Init ()=0
 
virtual EMStudioPluginClone () const =0
 
virtual EMStudioPlugin::EPluginType GetPluginType () const =0
 
virtual void OnAfterLoadLayout ()
 
virtual void OnAfterLoadProject ()
 
virtual void OnAfterLoadActors ()
 
virtual void OnBeforeRemovePlugin (uint32 classID)
 
virtual void OnMainWindowClosed ()
 
virtual void Render (EMotionFX::ActorRenderFlags renderFlags)
 Render function will call atom auxGeom internally to render. This is the replacement for LegacyRender function.
 
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 GetHasWindowWithObjectName (const AZStd::string &objectName)=0
 
virtual QString GetObjectName () const =0
 
virtual void SetObjectName (const QString &objectName)=0
 
virtual void CreateBaseInterface (const char *objectName)=0
 
virtual bool AllowMultipleInstances () const
 
virtual void AddWindowMenuEntries (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
 

Member Function Documentation

◆ Clone()

EMStudioPlugin * EMotionFX::SimulatedObjectWidget::Clone ( ) const
inlineoverridevirtual

◆ GetClassID()

uint32 EMotionFX::SimulatedObjectWidget::GetClassID ( ) const
inlineoverridevirtual

◆ GetIsClosable()

bool EMotionFX::SimulatedObjectWidget::GetIsClosable ( ) const
inlineoverridevirtual

Reimplemented from EMStudio::DockWidgetPlugin.

◆ GetIsFloatable()

bool EMotionFX::SimulatedObjectWidget::GetIsFloatable ( ) const
inlineoverridevirtual

Reimplemented from EMStudio::DockWidgetPlugin.

◆ GetIsVertical()

bool EMotionFX::SimulatedObjectWidget::GetIsVertical ( ) const
inlineoverridevirtual

Reimplemented from EMStudio::DockWidgetPlugin.

◆ GetName()

const char * EMotionFX::SimulatedObjectWidget::GetName ( ) const
inlineoverridevirtual

◆ Init()

bool EMotionFX::SimulatedObjectWidget::Init ( )
overridevirtual

◆ Render()

void EMotionFX::SimulatedObjectWidget::Render ( EMotionFX::ActorRenderFlags  renderFlags)
overridevirtual

Render function will call atom auxGeom internally to render. This is the replacement for LegacyRender function.

Reimplemented from EMStudio::EMStudioPlugin.


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