VISH
0.2
|
Abstract base class for objects that can be touched. More...
#include </home/werner/origo/vish/ocean/Anemonia/VTouchable.hpp>
Abstract base class for objects that can be touched.
virtual TouchIndex_t Wizt::Touchable::feedback_render | ( | VRenderContext & | Context, |
TouchIndex_t | StartIndex | ||
) | const [pure virtual] |
Virtual function to perform feedback rendering, i.e.
render each touchable item of this object with a unique 32-bit RGBA encoding, starting with the StartIndex value.
bool Wizt::Touchable::pickAction | ( | TouchIndex_t | localIndex | ) | const [virtual] |
A virtual function that implements some action if the given index item is picked by the TouchList::pickAction() function.
Note that the localIndex is the item relative to this object, i.e. starting at zero.