载入中...
搜索中...
未找到
FieldBrushTool.h
浏览该文件的文档.
Adds weighted strength to targets exposing IScalarFieldTarget.
Definition FieldBrushTool.h:42
Convenience sink for previews, tests and command construction.
Definition BrushKernel.h:107
Generic stroke tool composed from a brush kernel and field operation.
Definition FieldBrushTool.h:55
void setStrength(float strength)
Set the operation strength; negative values are permitted.
Definition FieldBrushTool.h:69
void setKernel(const IBrushKernel *kernel)
Replace the shape/falloff implementation used by later stamps.
Definition FieldBrushTool.h:63
void setOperation(const IFieldBrushOperation *operation)
Replace the edit semantics used by later stamps.
Definition FieldBrushTool.h:65
Shape protocol shared by tile, terrain, mask and custom tools.
Definition BrushKernel.h:66
UI-independent property editor used by tools to expose settings.
Definition EditorPresentation.h:47
Sink implemented by a 2D or 3D viewport to render tool feedback.
Definition EditorPresentation.h:27
Replaceable operation that converts brush samples into a command.
Definition FieldBrushTool.h:13
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.
Paints a fixed integer into targets exposing IIntFieldTarget.
Definition FieldBrushTool.h:25
void setValue(int value)
Change the integer written by subsequent stamps.
Definition FieldBrushTool.h:30
Definition ActionPreviewController.cpp:6
Pointer input normalized by an editor viewport adapter.
Definition EditorTool.h:20
UI-facing metadata supplied by a tool implementation.
Definition EditorTool.h:98
Result returned by a tool after processing input.
Definition EditorTool.h:50