🔹Add Image to the Scene

addImagetoScene: to add image to the scene (returns id of the image)

// var imageId1 = IDE.addImagetoScene({
    assetName: 'Sheen_Velvet_Cair.png',
    position: [0, 0, 0],
    rotation: [0, 0, 0],
    scale: [0.2, 0.2, 0.2],
    handleOnClick: handleClickFunction 
})

removeImagefromScene:

// IDE.removeImagefromScene({
    id: imageId1
})

Last updated