![]() |
ezEngine Release 25.08
|
A volume sampler is used to sample the registered values from volumes at a given position. It also takes care of interpolation over time of those values. More...
#include <VolumeSampler.h>
Public Member Functions | |
| void | RegisterValue (ezHashedString sName, ezVariant defaultValue, ezTime interpolationDuration=ezTime::MakeZero()) |
| void | DeregisterValue (ezHashedString sName) |
| void | DeregisterAllValues () |
| void | SampleAtPosition (const ezWorld &world, ezSpatialData::Category spatialCategory, const ezVec3 &vGlobalPosition, ezTime deltaTime) |
| ezVariant | GetValue (ezTempHashedString sName) const |
Static Public Member Functions | |
| static ezUInt32 | ComputeSortingKey (float fSortOrder, float fMaxScale) |
A volume sampler is used to sample the registered values from volumes at a given position. It also takes care of interpolation over time of those values.