ColorDamper generates a series of RGB color values that progressively change from initial value to destination value.
The ColorDamper node belongs to the Followers component and its container field is children. It is available since X3D version 3.2 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.
SFColor [in] set_value
Set_value resets current value of this node.
SFColor [in] set_destination
Set_destination resets destination value of this node.
SFColor [ ] initialValue 0.8 0.8 0.8 [0,1]
Initial starting value for this node.
SFColor [ ] initialDestination 0.8 0.8 0.8 [0,1]
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.
SFColor [out] value_changed
Computed output value that approaches within tolerance of destination value, as determined by elapsed time, order and tau.