The fadein time in ms
Optionalcolor: stringThe color to fade from. Defaults to 'white'.
Fades out what is currently rendered.
The fadeout time in ms
Optionalcolor: stringThe color to fade to. Defaults to 'white'
Gets a copy of the data of the asset. The data is structured depending on the type of asset. If you are calling this function you seem to know what you are doing.
The id of the asset
This will return all the assets which are part of the release.
This will initialize a default viewer.
Initializes the viewer and fetches the data referenced by the
deployment config. Called with the config object received from
the lux:loaded event, or with window.lux_config, where the
dropcode publishes the same object once the event has fired. Does
not render anything yet — use getDefaultViewer to set up a
scene.
Updates the data of the asset. This might not have any effect if the asset is already used somewhere. (E.g. an already running viewer will not use this new data when the asset data is updated after the viewer has been initialized.)
The id of the asset
The updated asset data
Fades in the current render scene. Make sure to set the color the same than the one with which a previous fadeout happened. Otherwise there will be a color "flip".