<!-- Simple Heads-Up Display (HUD) Prototype\n \n Manages the display of a HUD and maintains its position on the screen.\n Changes to fieldOfView (in Viewpoint node) will change screen position\n \n Fields:\n hudSize Size of HUD (initializeOnly - SFVec3f) default="1 1 .01"\n hudColor Color of HUD (inputOutput - SFColor) default="1 1 1"\n screenOffset Offset of HUD. This field positions the HUD on the display screen (inputOutput - SFVec3f) default="0 0 0"\n hudGeometry Geometry to be placed on the HUD. Origin is center of HUD. (inputOutput - MFNode) default = []\n position_changed Current viewer location (outputOnly - SFVec3f)\n orientation_changed Current viewer orientation (outputOnly - SFRotation)\n \n \n -->
<
ProtoDeclare name='
HUD'>
<
ProtoInterface>
<
field name='
hudSize'
type='
SFVec3f'
value='
1 1 .01'
accessType='
initializeOnly'/>
<
field name='
hudColor'
type='
SFColor'
value='
1 1 1'
accessType='
inputOutput'/>
<
field name='
screenOffset'
type='
SFVec3f'
value='
0 0 0'
accessType='
inputOutput'/>
<
field name='
hudGeometry'
type='
MFNode'
accessType='
inputOutput'/>
<
field name='
position_changed'
type='
SFVec3f'
accessType='
outputOnly'/>
<
field name='
orientation_changed'
type='
SFRotation'
accessType='
outputOnly'/>
</
ProtoInterface>
<
ProtoBody>
</
ProtoBody>
</
ProtoDeclare>
<
ProtoInstance name='
HUD'
DEF='
Hud'
containerField='
children'>
<fieldValue name='hudSize' value='1.5 .4 .1'/>
<fieldValue name='hudColor' value='1 1 0'/>
<fieldValue name='screenOffset' value='-.8 1. -3'/>
</
ProtoInstance>