vkmEngine 1.0.15
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::TerrainBrush::Dab Struct Reference

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

Detailed Description

One application of a brush: where, how wide, how much.

Member Data Documentation

◆ strength

float Vkm::Engine::TerrainBrush::Dab::strength = 1.0f

How much of the full effect this dab makes, 0 to 1.

◆ hardness

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.


The documentation for this struct was generated from the following file: