XII Release 0.1.0
Loading...
Searching...
No Matches
xiiVolumeSampler Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <VolumeSampler.h>

Public Member Functions

 xiiVolumeSampler ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
void RegisterValue (xiiHashedString sName, xiiVariant defaultValue, xiiTime interpolationDuration=xiiTime::MakeZero())
void DeregisterValue (xiiHashedString sName)
void DeregisterAllValues ()
void SampleAtPosition (const xiiWorld &world, xiiSpatialData::Category spatialCategory, const xiiVec3 &vGlobalPosition, xiiTime deltaTime)
xiiVariant GetValue (xiiTempHashedString sName) const

Static Public Member Functions

static xiiUInt32 ComputeSortingKey (float fSortOrder, float fMaxScale)

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

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:
  • /home/runner/work/XII/XII/Source/Engine/GameEngine/Components/Volumes/VolumeSampler.h
  • /home/runner/work/XII/XII/Source/Engine/GameEngine/Components/Volumes/Implementation/VolumeSampler.cpp