载入中...
搜索中...
未找到
eve::editor::PaintIntFieldOperation类 参考final

Paints a fixed integer into targets exposing IIntFieldTarget. 更多...

#include <FieldBrushTool.h>

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

Public 成员函数

 PaintIntFieldOperation (int value=1)
 Paint int field operation.
 
void setValue (int value)
 Change the integer written by subsequent stamps.
 
int value () const
 Return the integer written by this operation.
 
std::unique_ptr< IEditCommand > createCommand (IEditableTarget *target, const BrushSampleBuffer &samples, float strength) const override
 Creates command.
 
- Public 成员函数 继承自 eve::editor::IFieldBrushOperation
virtual ~IFieldBrushOperation ()=default
 Releases IFieldBrushOperation resources.
 

详细描述

Paints a fixed integer into targets exposing IIntFieldTarget.

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

构造及析构函数说明

◆ PaintIntFieldOperation()

eve::editor::PaintIntFieldOperation::PaintIntFieldOperation ( int  value = 1)
inlineexplicit

Paint int field operation.

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

成员函数说明

◆ createCommand()

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

◆ setValue()

void eve::editor::PaintIntFieldOperation::setValue ( int  value)
inline

Change the integer written by subsequent stamps.

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

引用了 value.

◆ value()

int eve::editor::PaintIntFieldOperation::value ( ) const
inline

Return the integer written by this operation.

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


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