SingleFieldSensor
Abstract base class of all direct sensors that can send or receive SF data values.
Inheritance
- Node 12
- SceneBaseNode 17
- Sensor 13
- DirectSensor 2
- SingleFieldSensor 20
- SFVec3fSensor
- SFColorSensor
- SFStringSensor
- SFDoubleSensor
- SFInt32Sensor
- SFVec2fSensor
- SFMatrix4dSensor
- SFBoolSensor
- SFMatrix4fSensor
- SFVec3dSensor
- SFVec4fSensor
- SFRotationSensor
- SFImageSensor
- SFMatrix3fSensor
- SFVec2dSensor
- SFMatrix3dSensor
- SFFloatSensor
- SFVec4dSensor
- SFTimeSensor
- SFColorRGBASensor
Code
XML encoding
<SingleFieldSensor label='' triggerName='Interaction' bufferSize='1' out='FALSE' description='' enabled='TRUE' logFeature='' />
Classic encoding
SingleFieldSensor { label "" triggerName "Interaction" bufferSize 1 out FALSE 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 |