As shown above, this effect is great for creating an AR scene that adheres to the inside of a box, making the interior seemingly come to life in AR. For instance, a toy company looking to show the possibility of interactive play, or a packaged goods brand that wants to show an animated AR product tutorial.
To create a 3D diorama:
hiddenMesh – object’s name of previously created Mesh in your 3d Editor.
const hiddenMesh = this.activeSceneModel.scene.getObjectByName('hiddenMesh'); hiddenMesh.material.colorWrite = false;