Skip to content

Commit

Permalink
add node ref method
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Aug 25, 2024
1 parent 4d7f9a4 commit 767a62f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spatial/wit/wired-scene/gltf.wit
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 767a62f

Please sign in to comment.