Sites

Menu
These are the docs for 14.1, an old version of SpatialOS. The docs for this version are frozen: we do not correct, update or republish them. 14.3 is the newest →

Bridge configuration

We are in the process of releasing a new, flexible project layout (currently in beta).

When it’s stable, we intend the flexible project layout to replace the project layout described on this page.

The bridge field of the worker configuration file specifies the worker type’s runtime settings. It has the following overall structure:

"bridge": {
    "worker_attribute_set": {},
    "entity_interest": {},
    "streaming_query": [],
    "component_delivery": {},
    "component_settings": {}
}
  • The worker attribute set field (required) describes which layer this worker type belongs to.
  • The entity interest field (optional) is about defining which entities a worker instance of this type gets component updates for.
  • The streaming queries field (optional) lets you set up streaming queries to get information about entities.
  • The component delivery field (optional) configures the set of components a worker instance receives updates about when it is receiving updates about an entity.
  • The component settings field (optional) allows you to configure various component settings.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums