H3D API
2.4.1
|
Template for adding the virtual function onValueChange that can be overridden in subclasses in order to perform actions when the value of the field changes in any way, i.e. More...
#include <H3D/FieldTemplates.h>
Inherits SF.
Protected Member Functions | |
virtual void | onValueChange (const typename SF::value_type &new_value)=0 |
This function is called when the value in the field has changed. | |
Template for adding the virtual function onValueChange that can be overridden in subclasses in order to perform actions when the value of the field changes in any way, i.e.
it will only be called when the value is updated or set to a value that is different than its previous value.