Highlight
This node is used to highlight geometry nodes. If the "on" field is TRUE, the highlighting is on using the color specified in the "color" field. If additionally the "bright" field is TRUE, then the geometry is highlighted using the color specified by "brightColor". If the "child" field contains a valid node, then this node is highlighted otherwise the parent node of the highlight node is highlighted.
Inheritance
Code
XML encoding
<Highlight bright='FALSE' mode='0' color='0, 0.7, 0, .5' brightColor='1, .4, 0, .5' alphaScale='1' on='TRUE' logFeature='' />
Classic encoding
Highlight { bright FALSE mode 0 color 0, 0.7, 0, .5 brightColor 1, .4, 0, .5 alphaScale 1 on TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
brightColor | SFColorRGBA | initializeOnly | 1, .4, 0, .5 | the color to use for highlighting if the "bright" field is TRUE. | ||
alphaScale | SFFloat | inputOutput | 1 | [0, 1] | additional alpha factor which effects the last component of all colors | |
bright | SFBool | inputOutput | FALSE | if TRUE, highlight using "brightColor" | ||
child | SFNode | inputOutput | node to highlight. If 0, the parent node is highlighted | |||
color | SFColorRGBA | inputOutput | 0, 0.7, 0, .5 | the default color to use for highlighting (if the "bright" field is FALSE). | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
mode | SFInt32 | inputOutput | 0 | 0 = sphere, 1 = box, 2 = materialhighlight | ||
on | SFBool | inputOutput | TRUE | Enables/disables this effector (e.g. light) |