ScalarDamper generates a series of floating-point values that progressively change from initial value to destination value.
The ScalarDamper node belongs to the Followers component and its container field is children. It is available since X3D version 3.3 or later.
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFFloat [in] set_value
Set_value resets current value of this node.
SFFloat [in] set_destination
Set_destination resets destination value of this node.
SFFloat [ ] initialValue
Initial starting value for this node.
SFFloat [ ] initialDestination
Initial destination value for this node.
SFInt32 [ ] order 3 [0..5]
Order defines the number of internal filters (larger means smoother response, longer delay).
SFTime [in, out] tau 0.3 [0,∞)
Tau is the exponential-decay time constant for filter response in seconds.
SFFloat [in, out] tolerance -1 -1 or [0,∞)
-1 or [0,+∞) Absolute value for satisfactory completion proximity (-1 lets browser choose).
SFBool [out] isActive
IsActive true/false events are sent when follower-node computation starts/stops.
SFFloat [out] value_changed
Computed output value that approaches within tolerance of destination value, as determined by elapsed time, order and tau.