Plasma Engine  2.0
Loading...
Searching...
No Matches
plVolumeSampler Class Reference

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)
 

Detailed Description

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.


The documentation for this class was generated from the following files: