![]() |
Plasma Engine
2.0
|
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 (plHashedString sName, plVariant defaultValue, plTime interpolationDuration=plTime::MakeZero()) |
| void | DeregisterValue (plHashedString sName) |
| void | DeregisterAllValues () |
| void | SampleAtPosition (const plWorld &world, plSpatialData::Category spatialCategory, const plVec3 &vGlobalPosition, plTime deltaTime) |
| plVariant | GetValue (plTempHashedString sName) const |
Static Public Member Functions | |
| static plUInt32 | 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.