addToAssetQueue
@combeenation/custom-code-utils
Variable: addToAssetQueue()
constaddToAssetQueue: (assets,sdCtrlName?) =>void=SdvScene.addToAssetQueue
Adds assets to the update queue but does not trigger the update yet.
This function can be used to accumulate various assets before executing the asset update.
=> Use processAssetQueue for executing the accululated asset updates.
Parameters
assets
SceneAsset[]
sdCtrlName?
string
If not configured, the first shapediver instance of the configurator is used
Returns
void