![]() |
vkmEngine 1.0.15
A C++ game engine · vkmengine.com
|
One application of a brush: where, how wide, how much. More...
#include <terrain_brush.h>
Public Attributes | |
| glm::vec2 | centre {0.0f} |
| Local metres along X and Z. | |
| float | radius = 4.0f |
| Metres. | |
| float | strength = 1.0f |
| float | hardness = 0.3f |
One application of a brush: where, how wide, how much.
| float Vkm::Engine::TerrainBrush::Dab::strength = 1.0f |
How much of the full effect this dab makes, 0 to 1.
| float Vkm::Engine::TerrainBrush::Dab::hardness = 0.3f |
How much of the radius takes the full effect before it fades: 0 fades from the centre, 1 is a flat disc.