H3D API
2.4.1
|
Template for adding the virtual function onNewValue that can be overridden in subclasses in order to perform actions when the value is updated in any way( setValue or update ). More...
#include <H3D/FieldTemplates.h>
Protected Member Functions | |
virtual void | onNewValue (const typename SF::value_type &new_value)=0 |
This function is called when the field is updated to a value. | |
Template for adding the virtual function onNewValue that can be overridden in subclasses in order to perform actions when the value is updated in any way( setValue or update ).
The difference between this and OnValueChangeSField is that the function is called any time the setValue or update function is called, even if the new value is the same as the old.