pailhead / three-instanced-mesh

wrapper around THREE.InstancedBufferGeometry
MIT License
109 stars 14 forks source link

How to hide/show the instance of specified index in Instancedmesh? #41

Open FangMeiyan opened 3 years ago

FangMeiyan commented 3 years ago

I want to hide the instance of the specified index in InstancedMesh and show it again. How can I do that? For example, I have 10 instances of instancemesh, and I want to hide the sixth one and show it back later. Thanks!

huachaoliu commented 3 years ago

set scale(0)