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

Spherical volume kernel using a non-owning falloff strategy. 更多...

#include <VolumeBrushTool.h>

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

Public 成员函数

 SphereVolumeBrushKernel (const IBrushFalloff *falloff=nullptr)
 Create a spherical kernel with an optional non-owning falloff.
 
void setFalloff (const IBrushFalloff *falloff)
 Replace the radial 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.
 

详细描述

Spherical volume kernel using a non-owning falloff strategy.

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

构造及析构函数说明

◆ SphereVolumeBrushKernel()

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

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

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

成员函数说明

◆ sample()

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

Sample.

实现了 eve::editor::IVolumeBrushKernel.

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

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

◆ setFalloff()

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

Replace the radial falloff used by later samples.

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


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