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::PhysicsSetupManipulatorCommandCallback Class Reference

Inherits MCore::Command::Callback.

Public Member Functions

 PhysicsSetupManipulatorCommandCallback (PhysicsSetupManipulatorsBase *manipulators, bool executePreUndo, bool executePreCommand=false)
 
bool Execute (MCore::Command *command, const MCore::CommandLine &commandLine) override
 
bool Undo (MCore::Command *command, const MCore::CommandLine &commandLine) override
 
- Public Member Functions inherited from MCore::Command::Callback
 Callback (bool executePreUndo, bool executePreCommand=false)
 
virtual ~Callback ()
 
virtual bool Execute (MCore::Command *command, const MCore::CommandLine &commandLine)=0
 
virtual bool Undo (MCore::Command *command, const MCore::CommandLine &commandLine)=0
 
MCORE_INLINE bool GetExecutePreCommand () const
 
MCORE_INLINE bool GetExecutePreUndo () const
 

Member Function Documentation

◆ Execute()

bool EMotionFX::PhysicsSetupManipulatorCommandCallback::Execute ( MCore::Command command,
const MCore::CommandLine commandLine 
)
overridevirtual

Execute the callback. Command callbacks are executed before/after executing the real command where this callback is linked to.

Parameters
commandThe command where this callback belongs to.
commandLineThe command line used when executing the command.
Returns
Returns true when the command callback executed without problems, otherwise false is returned.

Implements MCore::Command::Callback.

◆ Undo()

bool EMotionFX::PhysicsSetupManipulatorCommandCallback::Undo ( MCore::Command command,
const MCore::CommandLine commandLine 
)
overridevirtual

Execute the undo of this callback. The undo is executed before/after executing the undo of the actual command where this callback is linked to.

Parameters
commandThe command where this callback belongs to.
commandLineThe command line used when executing the command.
Returns
Returns true when the command callback undo executed without problems, otherwise false is returned.

Implements MCore::Command::Callback.


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