![]() |
Lysa.nodes
0.0
Lysa 3D Engine
|
Utility for loading scene files synchronously or asynchronously.
Lua full name: lysa.nodes.Loader
Public Member Functions | |
| Node | load (uri: string)static |
| Loads a scene from the given virtual URI and returns its root node. More... | |
| nil | load_async (uri: string, fn: fun())static |
| Loads a scene asynchronously from the given URI; calls fn on the main thread when loading is complete. More... | |
|
static |
Loads a scene from the given virtual URI and returns its root node.
| uri | string |
|
static |
Loads a scene asynchronously from the given URI; calls fn on the main thread when loading is complete.
| uri | string |
| fn | fun() |