NetworkSensor
The NetworkSensor is intended to provide more efficient sending and receiving of events via a network connection than would normally be possible via an external API. It acts as a high speed gateway between a network stream and the X3D scene graph so routes can be set to/from it. It defines a set of fields to be sent/received over a connection.
Inheritance
Code
XML encoding
<NetworkSensor logFeature='' enabled='TRUE' description='' command='' commandType='-1' triggerName='Timer' channelId='1' />
Classic encoding
NetworkSensor { logFeature [""] enabled TRUE description "" command "" commandType -1 triggerName "Timer" channelId "1" }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
connection | SFNode | inputOutput | NULL | connection specifies the network connection to use. | ||
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 |