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

Records undo/redo states when modifying an asset. More...

#include <WhiteBoxMeshAssetUndoCommand.h>

Inherits AzToolsFramework::UndoSystem::URSequencePoint.

Public Member Functions

AZ_CLASS_ALLOCATOR_DECL AZ_RTTI (WhiteBoxMeshAssetUndoCommand, "{C99CD86C-035A-4FC9-AADC-4C746C38F119}", AzToolsFramework::UndoSystem::URSequencePoint) explicit WhiteBoxMeshAssetUndoCommand()
 
 WhiteBoxMeshAssetUndoCommand (const WhiteBoxMeshAssetUndoCommand &other)=delete
 
WhiteBoxMeshAssetUndoCommandoperator= (const WhiteBoxMeshAssetUndoCommand &other)=delete
 
void SetAsset (AZ::Data::Asset< Pipeline::WhiteBoxMeshAsset > asset)
 
void SetUndoState (const Api::WhiteBoxMeshStream &undoState)
 
void SetRedoState (const Api::WhiteBoxMeshStream &redoState)
 
void Undo () override
 
void Redo () override
 
bool Changed () const override
 

Protected Attributes

AZ::Data::Asset< Pipeline::WhiteBoxMeshAssetm_asset
 
Api::WhiteBoxMeshStream m_undoState
 
Api::WhiteBoxMeshStream m_redoState
 

Detailed Description

Records undo/redo states when modifying an asset.


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