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

Axis-aligned cubic volume kernel using a non-owning falloff strategy. 更多...

#include <VolumeBrushTool.h>

类 eve::editor::BoxVolumeBrushKernel 继承关系图:
eve::editor::IVolumeBrushKernel

Public 成员函数

 BoxVolumeBrushKernel (const IBrushFalloff *falloff=nullptr)
 Create a box kernel with an optional non-owning falloff.
 
void setFalloff (const IBrushFalloff *falloff)
 Replace the edge falloff used by later samples.
 
void sample (float x, float y, float z, float radius, std::vector< VolumeBrushPoint > &out) const override
 Sample.
 
- Public 成员函数 继承自 eve::editor::IVolumeBrushKernel
virtual ~IVolumeBrushKernel ()=default
 Releases IVolumeBrushKernel resources.
 

详细描述

Axis-aligned cubic volume kernel using a non-owning falloff strategy.

在文件 VolumeBrushTool.h 第 46 行定义.

构造及析构函数说明

◆ BoxVolumeBrushKernel()

eve::editor::BoxVolumeBrushKernel::BoxVolumeBrushKernel ( const IBrushFalloff *  falloff = nullptr)
inlineexplicit

Create a box kernel with an optional non-owning falloff.

在文件 VolumeBrushTool.h 第 49 行定义.

成员函数说明

◆ sample()

void eve::editor::BoxVolumeBrushKernel::sample ( float  x,
float  y,
float  z,
float  radius,
std::vector< VolumeBrushPoint > &  out 
) const
overridevirtual

Sample.

实现了 eve::editor::IVolumeBrushKernel.

在文件 VolumeBrushTool.cpp 第 42 行定义.

引用了 distance, radius, x, y , 以及 z.

◆ setFalloff()

void eve::editor::BoxVolumeBrushKernel::setFalloff ( const IBrushFalloff *  falloff)
inline

Replace the edge falloff used by later samples.

在文件 VolumeBrushTool.h 第 51 行定义.


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