载入中...
搜索中...
未找到
eve::editor::IFieldBrushOperation类 参考abstract

Replaceable operation that converts brush samples into a command. 更多...

#include <FieldBrushTool.h>

类 eve::editor::IFieldBrushOperation 继承关系图:
eve::editor::AddScalarFieldOperation eve::editor::PaintIntFieldOperation

Public 成员函数

virtual ~IFieldBrushOperation ()=default
 Releases IFieldBrushOperation resources.
 
virtual std::unique_ptr< IEditCommand > createCommand (IEditableTarget *target, const BrushSampleBuffer &samples, float strength) const =0
 Create one reversible command, or nullptr for an incompatible target.
 

详细描述

Replaceable operation that converts brush samples into a command.

在文件 FieldBrushTool.h 第 13 行定义.

构造及析构函数说明

◆ ~IFieldBrushOperation()

virtual eve::editor::IFieldBrushOperation::~IFieldBrushOperation ( )
virtualdefault

Releases IFieldBrushOperation resources.

成员函数说明

◆ createCommand()

virtual std::unique_ptr< IEditCommand > eve::editor::IFieldBrushOperation::createCommand ( IEditableTarget *  target,
const BrushSampleBuffer &  samples,
float  strength 
) const
pure virtual

Create one reversible command, or nullptr for an incompatible target.

在 eve::editor::PaintIntFieldOperation , 以及 eve::editor::AddScalarFieldOperation 内被实现.


该类的文档由以下文件生成: