Owning, backend-neutral input for one synchronous GPU mesh deformation. 更多...
#include <MeshDeformationCompute.h>
Public 属性 | |
| MeshDeformationComputeOperation | operation = MeshDeformationComputeOperation::Inflate |
| std::vector< float > | positions |
| std::vector< float > | normals |
| std::vector< float > | baseline |
| std::vector< float > | targets |
| float | centerX = 0.f |
| float | centerY = 0.f |
| float | centerZ = 0.f |
| float | radius = 1.f |
| float | strength = 0.f |
| float | falloff = 1.f |
| float | directionX = 0.f |
| float | directionY = 1.f |
| float | directionZ = 0.f |
| float | maxDisplacement = 1.f |
详细描述
Owning, backend-neutral input for one synchronous GPU mesh deformation.
Positions, normals, baseline, and targets contain tightly packed xyz triples. Baseline is required by Impact and targets by Smooth. The provider retains no request memory.
在文件 MeshDeformationCompute.h 第 19 行定义.
类成员变量说明
◆ baseline
| std::vector<float> eve::MeshDeformationComputeRequest::baseline |
在文件 MeshDeformationCompute.h 第 23 行定义.
◆ centerX
| float eve::MeshDeformationComputeRequest::centerX = 0.f |
在文件 MeshDeformationCompute.h 第 25 行定义.
◆ centerY
| float eve::MeshDeformationComputeRequest::centerY = 0.f |
在文件 MeshDeformationCompute.h 第 25 行定义.
◆ centerZ
| float eve::MeshDeformationComputeRequest::centerZ = 0.f |
在文件 MeshDeformationCompute.h 第 25 行定义.
◆ directionX
| float eve::MeshDeformationComputeRequest::directionX = 0.f |
在文件 MeshDeformationCompute.h 第 29 行定义.
◆ directionY
| float eve::MeshDeformationComputeRequest::directionY = 1.f |
在文件 MeshDeformationCompute.h 第 29 行定义.
◆ directionZ
| float eve::MeshDeformationComputeRequest::directionZ = 0.f |
在文件 MeshDeformationCompute.h 第 29 行定义.
◆ falloff
| float eve::MeshDeformationComputeRequest::falloff = 1.f |
在文件 MeshDeformationCompute.h 第 28 行定义.
◆ maxDisplacement
| float eve::MeshDeformationComputeRequest::maxDisplacement = 1.f |
在文件 MeshDeformationCompute.h 第 30 行定义.
◆ normals
| std::vector<float> eve::MeshDeformationComputeRequest::normals |
在文件 MeshDeformationCompute.h 第 22 行定义.
◆ operation
| MeshDeformationComputeOperation eve::MeshDeformationComputeRequest::operation = MeshDeformationComputeOperation::Inflate |
在文件 MeshDeformationCompute.h 第 20 行定义.
被这些函数引用 eve::procgen::MeshDeformationSession::applyImpactGpuResult().
◆ positions
| std::vector<float> eve::MeshDeformationComputeRequest::positions |
在文件 MeshDeformationCompute.h 第 21 行定义.
被这些函数引用 eve::procgen::MeshDeformationSession::applyBrushGpuResult().
◆ radius
| float eve::MeshDeformationComputeRequest::radius = 1.f |
在文件 MeshDeformationCompute.h 第 26 行定义.
◆ strength
| float eve::MeshDeformationComputeRequest::strength = 0.f |
在文件 MeshDeformationCompute.h 第 27 行定义.
◆ targets
| std::vector<float> eve::MeshDeformationComputeRequest::targets |
在文件 MeshDeformationCompute.h 第 24 行定义.
该结构体的文档由以下文件生成:
- src/engine/common/MeshDeformationCompute.h