diff --git a/README.md b/README.md index 0ce61b85b8a8307ebfd7b674d1ea7e449fe80bef..0c2f674692f469c7968a1ce7245d218f7c8aebb6 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