What it does
CreateXRAnchorAsync writes a value: it creates rather than reads. It takes poseJson (a string), and answers an integer.
Syntax
CreateXRAnchorAsync(poseJson string) → integerParameters
| Name | Type |
|---|---|
| poseJson | string |
Every form returns
integer
Example · generated
xRAnchorAsync = CreateXRAnchorAsync("{}")DO Sync()LOOPCreateXRAnchorAsync is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.