Skip to content

Helpers and Utilities

David Komer edited this page May 26, 2018 · 7 revisions

Various helpers and utility functions are exported to make working with the data a bit more efficient or easier. Conceptually, these aren't part of the core engine- rather they are like sugar or shortcuts over working with the data the engine expects.

gltf_load()

Shorthand for loading and then creating from gltf file -> assets -> data

gltf_updatePrimitiveShaderConfig()

Helper for updating the shaderConfig in a single primitive (returns new primitive- not scene)

TODO

Document animation and other helpers

Clone this wiki locally