Skip to main content

onAppResourcesLoaded()

onAppResourcesLoaded: ({ framework, imageTargets, version })

Description

onAppResourcesLoaded() is called when we have received the resources attached to an app from the server.

Parameters

ParameterDescription
frameworkThe framework bindings for this module for dispatching events.
imageTargets [Optional]An array of image targets with the fields {imagePath, metadata, name}
versionThe engine version, e.g. 14.0.8.949

Example

XR8.addCameraPipelineModule({
name = 'myPipelineModule',
onAppResourcesLoaded = ({ framework, version, imageTargets }) => {
//...
},
})