XR Plugin system
- Last UpdatedDec 04, 2023
- 1 minute read
The XR Plugin system extends the functionalities offered by the XR framework by supporting an externally developed set of node types.
-
A plugin will consist of a plugin DLL together with required dependencies and configuration files.
-
Plugins are currently restricted to Windows version and a plugin needs to follow specific security rules.
-
Plugins can be provisioned together with XR Studio or by other sources.
What can a plugin provide
Each plugin can contain the definition of one or more node types that can be used in a project in the same way as standard framework node types.
This means that these node types can:
-
Be declared in the scripts.
-
Be instantiated or deleted at runtime.
-
Routed to other nodes.
-
Accessed by script commands and coroutine statements.
Types of plugin nodes
There are classes of plugin node types that can fit for different purposes.
|
Plugin node type |
Description |
|---|---|
|
GenericNode |
Nodes of this type are good for managing business logic or managing access to external data sources. |
|
ImageNode |
These nodes return a 2D image to be displayed in other consumer nodes. |
|
ImageInteractiveNode |
These nodes can manage user input interaction (mouse, keyboard, hands). |
|
SensorNode |
Similar to GenericNode, but with the additional capacity to internally generate values and assign values to node fields in synch with the engine. |
For more information, see Use XR Plugins and Plugin nodes.