HTML Encoding and Default Values⤴
<ColorChaser
destination='0,0,0'
duration='1'
initialDestination='0.8,0.8,0.8'
initialValue='0.8,0.8,0.8'
isActive='false'
metadata='X3DMetadataObject'
value='0,0,0'
></ColorChaser>
Fields⤴
These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via
DOM functions (i.e., using
setAttribute("myFieldName", "myFieldValue")
and
getAttribute("myFieldName")
).
Name | Type | Default Value | Range | Inheritance | Standard | Description |
---|---|---|---|---|---|---|
destination | SFColor | 0,0,0 | [0,1] | The target color value | ||
duration | SFTime | 1 | X3DChaserNode | Duration of the transition | ||
initialDestination | SFColor | 0.8,0.8,0.8 | [0,1] | The field initialDestination should be set to the same value as initialValue unless a transition to a certain value is to be created right after the scene is loaded or right after the ColorChaser node is created dynamically. | ||
initialValue | SFColor | 0.8,0.8,0.8 | [0,1] | The field initialValue can be used to set the initial value. | ||
isActive | SFBool | false | X3DFollowerNode | isActive shows if the sensor is active | ||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information | ||
value | SFColor | 0,0,0 | [0,1] | The current color value |