Home | Download | Screen shots | Discussion | Documentation |
---|
For internal use only.
Unlike most exposedFields which are implemented either with an instance of the exposedfield template or a class derived from it, MovieTexture's speed exposedField is implemented using the listener and emitter primitives. This is because unlike most exposedFields, changes to the speed field (that is, set_speed events) are ignored if the node is not active.
Public Member Functions | |
set_speed_listener (movie_texture_node &node) | |
Constructor. | |
virtual | ~set_speed_listener () throw () |
Destroy. | |
Private Member Functions | |
virtual void | do_process_event (const sffloat &speed, double timestamp) throw (std::bad_alloc) |
Process event. |
|
Constructor.
|
|
Destroy.
|
|
Process event.
Implements openvrml::field_value_listener< sffloat >. |