# [appinfo] Heads-up display (HUD) keeps child geometry aligned on screen in a consistent location
exposedField SFVec3f screenOffset 0 0 -5 # [appinfo] offset position for HUD relative to current view location, default 0 0 -5
exposedField MFNode children [ # [appinfo] X3D content positioned at HUD offset
# initialization nodes (if any) go here
Group {}
]
eventOut SFVec3f position_changed # [appinfo] HUD position update (in world coordinates) relative to original location
eventOut SFRotation orientation_changed # [appinfo] HUD orientation update relative to original location
]
...
An edge case I discovered while trying to convert .wrl from http://bulatov.org/vrml/ to .x3d with x_ite.
If the Proto has a SF/MFNode field with a default value, the converted .xml is missing a closing bracket for the opening field tag.
Example attached wrl: HeadsUpDisplayPrototype.wrl.txt converted x3d: HeadsUpDisplayPrototype.x3d.txt
wrl:
converted x3d: