From 767a62f3f5e261917def5ec7b818df34ea86dc14 Mon Sep 17 00:00:00 2001 From: Kayh Date: Sun, 25 Aug 2024 03:19:31 -0400 Subject: [PATCH] add node ref method --- spatial/wit/wired-scene/gltf.wit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spatial/wit/wired-scene/gltf.wit b/spatial/wit/wired-scene/gltf.wit index da5f24d..315145d 100644 --- a/spatial/wit/wired-scene/gltf.wit +++ b/spatial/wit/wired-scene/gltf.wit @@ -96,6 +96,8 @@ interface node { constructor(); id: func() -> u32; + // Returns another reference to the same resource. + ref: func() -> node; name: func() -> string; set-name: func(value: string);