|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Wind field result at one world-space point. More...
#include <WindField.h>
Public Attributes | |
| glm::vec3 | velocity { 0.0f } |
| Wind velocity at the sample point. | |
| float | strength = 0.0f |
| Falloff factor in [0, 1] for the selected pocket. | |
| uint32_t | pocketId = 0u |
| Deterministic identifier for the selected pocket. | |
| bool | isInsidePocket = false |
| True when the point is inside a generated wind pocket. | |
Wind field result at one world-space point.
A disabled field, an empty pocket set, or a point outside every nearby pocket returns the default sample: zero velocity, zero strength, pocketId == 0, and isInsidePocket == false.
Definition at line 61 of file WindField.h.
| bool Engine::World::WindSample::isInsidePocket = false |
True when the point is inside a generated wind pocket.
Definition at line 66 of file WindField.h.
| uint32_t Engine::World::WindSample::pocketId = 0u |
Deterministic identifier for the selected pocket.
Definition at line 65 of file WindField.h.
| float Engine::World::WindSample::strength = 0.0f |
Falloff factor in [0, 1] for the selected pocket.
Definition at line 64 of file WindField.h.
| glm::vec3 Engine::World::WindSample::velocity { 0.0f } |
Wind velocity at the sample point.
Definition at line 63 of file WindField.h.