Merged lifecycle into root and such

This commit is contained in:
Nova
2021-09-28 04:38:42 -05:00
parent 7fea6f97f5
commit f14191d747
4 changed files with 18 additions and 22 deletions

View File

@@ -0,0 +1,13 @@
# /drawable
Object managing anything drawable, from the skytex to models.
## Signals
### `createModelFromFile(string name, string spacePath, string path)`
Creates a new [Model](../types/Model.md) at `/model/[name]` with parent at `spacePath`.
### `setSkytex(string path)`
Sets the sky texture to be the image (HDR) at the absolute `path`.
### `setSkylight(string path)`
Sets the ambient lighting (using spherical harmonics) to the HDR at the absolute `path`.