DOCS

How to toggle an entity’s visibility?

Hide an entity and show it back

1
2
3
4
5
6
7
const entity = SDK3DVerse.engineAPI.findEntitiesByEUID (<entityEUID>)
// Hide the entity
entity.setVisibility(false);
// Show the entity
entity.setVisibility(true);
Previous
Change the Camera controller type