![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
SetParameterCommand - Command to set a node parameter. More...
#include <BPCommandSystem.h>
Inheritance diagram for Olympe::Blueprint::SetParameterCommand:
Collaboration diagram for Olympe::Blueprint::SetParameterCommand:Public Member Functions | |
| SetParameterCommand (const std::string &graphId, int nodeId, const std::string ¶mName, const std::string &oldValue, const std::string &newValue) | |
| void | Execute () override |
| void | Undo () override |
| std::string | GetDescription () const override |
Public Member Functions inherited from Olympe::Blueprint::EditorCommand | |
| virtual | ~EditorCommand ()=default |
Private Attributes | |
| std::string | m_GraphId |
| int | m_NodeId |
| std::string | m_ParamName |
| std::string | m_OldValue |
| std::string | m_NewValue |
SetParameterCommand - Command to set a node parameter.
Definition at line 193 of file BPCommandSystem.h.
| Olympe::Blueprint::SetParameterCommand::SetParameterCommand | ( | const std::string & | graphId, |
| int | nodeId, | ||
| const std::string & | paramName, | ||
| const std::string & | oldValue, | ||
| const std::string & | newValue | ||
| ) |
Definition at line 399 of file BPCommandSystem.cpp.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 411 of file BPCommandSystem.cpp.
References Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), m_GraphId, m_NewValue, m_NodeId, m_ParamName, and Olympe::NodeGraph::SetNodeParameter().
Here is the call graph for this function:
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 429 of file BPCommandSystem.cpp.
References m_NewValue, and m_ParamName.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 420 of file BPCommandSystem.cpp.
References Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), m_GraphId, m_NodeId, m_OldValue, m_ParamName, and Olympe::NodeGraph::SetNodeParameter().
Here is the call graph for this function:
|
private |
Definition at line 206 of file BPCommandSystem.h.
|
private |
Definition at line 210 of file BPCommandSystem.h.
Referenced by Execute(), and GetDescription().
|
private |
Definition at line 207 of file BPCommandSystem.h.
|
private |
Definition at line 209 of file BPCommandSystem.h.
Referenced by Undo().
|
private |
Definition at line 208 of file BPCommandSystem.h.
Referenced by Execute(), GetDescription(), and Undo().