Polyphase Game Engine
Loading...
Searching...
No Matches
ActionReplaceWithInstancedMesh Class Reference

Action to merge selected StaticMesh3D nodes into InstancedMesh3D nodes grouped by mesh. More...

#include <ActionManager.h>

Inheritance diagram for ActionReplaceWithInstancedMesh:
Action

Classes

struct  GroupEntry
 

Public Member Functions

 DECLARE_ACTION_INTERFACE (ReplaceWithInstancedMesh)
 
 ActionReplaceWithInstancedMesh (const std::vector< Node * > &nodes, bool merge)
 
- Public Member Functions inherited from Action
virtual ~Action ()
 
virtual void Execute ()
 
virtual void Reverse ()
 
virtual const char * GetName ()=0
 

Protected Attributes

std::vector< GroupEntrymGroups
 
bool mFirstExecute = true
 

Detailed Description

Action to merge selected StaticMesh3D nodes into InstancedMesh3D nodes grouped by mesh.

Constructor & Destructor Documentation

◆ ActionReplaceWithInstancedMesh()

ActionReplaceWithInstancedMesh::ActionReplaceWithInstancedMesh ( const std::vector< Node * > &  nodes,
bool  merge 
)

Member Function Documentation

◆ DECLARE_ACTION_INTERFACE()

ActionReplaceWithInstancedMesh::DECLARE_ACTION_INTERFACE ( ReplaceWithInstancedMesh  )

Member Data Documentation

◆ mFirstExecute

bool ActionReplaceWithInstancedMesh::mFirstExecute = true
protected

◆ mGroups

std::vector<GroupEntry> ActionReplaceWithInstancedMesh::mGroups
protected

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