Sensor
Abstract device for all Sensor nodes. A sensor nodes monitors external (e.g. User Input) or internal (e.g. Time) states and sends output events to report changes. The User can use Sensor nodes to trigger any kind of actions (e.g. start a animation)
Inheritance
Code
XML encoding
<Sensor description='' enabled='TRUE' logFeature='' />
Classic encoding
Sensor { 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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |