IOSensor
Generic IO Sensor. Allows to access external devices like joysticks and cameras inside of you application
Inheritance
Code
XML encoding
<IOSensor system='auto' type='' name='' triggerName='Interaction' maxValuesPerTrigger='1' description='' enabled='TRUE' logFeature='' />
Classic encoding
IOSensor { system "auto" type "" name "" triggerName "Interaction" maxValuesPerTrigger 1 description "" enabled TRUE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
description | SFString | inputOutput | Text description to comment the sensor task. Can be used in run-time systems to give usefull feedback to the user and developer | |||
enabled | SFBool | inputOutput | TRUE | Enables/disables the sensor node. | ||
isActive | SFBool | outputOnly | FALSE | isActive true/false events are sent when the sensor gets active | ||
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 | ||
maxValuesPerTrigger | SFInt32 | initializeOnly | 1 | Determines the number of values that are buffered by this sensor. When the sensor receives more data values between two frames than there is free space in the buffer, the oldest data values get lost. By default, the buffer size is 1, which means that data values are not buffered. This is ok for tracker data where you are only interested in the most recent position value, but it is not ok for button press events, because you might loose button press events. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
name | SFString | initializeOnly | identifier | |||
system | SFString | initializeOnly | auto | auto, hid, ideal, ot, none | abstraction system | |
triggerName | SFString | initializeOnly | Interaction | name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutut to the triggerSlot-eventInput Slot. | ||
triggerSlot | SFTime | inputOnly | slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger. | |||
type | SFString | initializeOnly | device type ( e.g. joystick, clock) |