Fields
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.
SFBool [in, out] enabled TRUE
Enables/disables node operation.
SFBool [out] controlKey
ControlKey generates true event when pressed, false event when released.
SFBool [out] shiftKey
ShiftKey generates true event when pressed, false event when released.
SFBool [out] altKey
AltKey generates true event when pressed, false event when released.
SFInt32 [out] actionKeyPress
Action key press gives following values: F1..F12 = 1...12 HOME=13 END=14 PGUP=15 PGDN=16 UP=17 DOWN=18 LEFT=19 RIGHT=20.
SFInt32 [out] actionKeyRelease
Action key release gives following values: F1..F12 = 1...12 HOME=13 END=14 PGUP=15 PGDN=16 UP=17 DOWN=18 LEFT=19 RIGHT=20.
SFString [out] keyPress
Events generated when user presses character-producing keys on keyboard produces integer UTF-8 character values.
SFString [out] keyRelease
Events generated when user releases character-producing keys on keyboard produces integer UTF-8 character values.
SFBool [out] isActive
When a key is pressed, the KeySensor sends an isActive event with value true. Once the key is released, the KeySensor sends an isActive event with value false.