This is a lightweight GLTF model loader that is guaranteed to work with models loaded from the Meta Quest runtime using OVRPlugin.LoadRenderModel OVRPlugin.LoadRenderModel.
The loader only accepts GLTF files/data in the GLB format. We do not recommended using this class as a general purpose GLTF loader.
Creates a new GLTF loader using a binary data array.
Parameters
data
GLB byte data
OVRGLTFLoader
( Func< Stream > deferredStream )
Creates a new GLTF loader with a deferred data stream.
This should be used with OVRGLTFLoader.LoadGLBCoroutine to allow for async loading of the GLTF model. This can help prevent stalling on complex GLTF models.