From d25518a22eba2ecd548cb2764750984f52f8f13d Mon Sep 17 00:00:00 2001 From: Florent Berthaut <florent.berthaut@univ-lille.fr> Date: Sat, 30 Dec 2023 17:29:00 +0100 Subject: [PATCH] Update readme --- README.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0ce61b8..0c2f674 100644 --- a/README.md +++ b/README.md @@ -77,26 +77,27 @@ IVMI-node are the main components of any IVMI instruments. IVMI-node contains IV ``` python extends IvmiNode -func _ready(): +func _ready() -> void : # Call default IvmiNode constructor super._ready() - - # Optionally define a node type - _set_ivmi_type("my_node") - + + # Add custom properties with array of values _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) -func process(delta) : +func _process(delta : float) -> void : # Call default IvmiNode processing, required for updates super._process(delta) -func _set_property(prop, vals) : +func _set_property(prop : String, vals : Array) -> void : # Call default properties handling super._set_property(prop, vals) @@ -146,7 +147,14 @@ TODO ### 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 -- GitLab