Skip to content
Snippets Groups Projects
Commit d25518a2 authored by Florent Berthaut's avatar Florent Berthaut
Browse files

Update readme

parent eb29c6e3
Branches
No related tags found
No related merge requests found
...@@ -77,26 +77,27 @@ IVMI-node are the main components of any IVMI instruments. IVMI-node contains IV ...@@ -77,26 +77,27 @@ IVMI-node are the main components of any IVMI instruments. IVMI-node contains IV
``` python ``` python
extends IvmiNode extends IvmiNode
func _ready(): func _ready() -> void :
# Call default IvmiNode constructor # Call default IvmiNode constructor
super._ready() super._ready()
# Optionally define a node type
_set_ivmi_type("my_node")
# Add custom properties with array of values # Add custom properties with array of values
_add_property("selected", [0]) _add_property("selected", [0])
# [Optionally define a node type]
_set_ivmi_type("my_node")
# Properties are sent by default, optionnally deactivate sending # [Properties are sent by default, optionnally deactivate sending]
_properties["selected"].set_listen(false) _properties["selected"].set_listen(false)
func process(delta) : func _process(delta : float) -> void :
# Call default IvmiNode processing, required for updates # Call default IvmiNode processing, required for updates
super._process(delta) super._process(delta)
func _set_property(prop, vals) : func _set_property(prop : String, vals : Array) -> void :
# Call default properties handling # Call default properties handling
super._set_property(prop, vals) super._set_property(prop, vals)
...@@ -146,7 +147,14 @@ TODO ...@@ -146,7 +147,14 @@ TODO
### Android based headset ### Android based headset
TODO Use CompabilityGL Rendering Mode
#### Activating Passthrough
* Add an environment with a custom color background and an alpha value of 0
* Activate Optional or Requested Passthrough in the Android Export configuration
* Toggle passthrough in the IvmiScene XR properties
### Stereoscopic displays ### Stereoscopic displays
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment