zhou junhua
zhou junhua

Reputation: 504

How to hide ModelEntity in RealityKit?

There are hide model in Reality Composer but can't find any docs about hide entity or ModelEntity in RealityKit.

Something like this :

SCNNode ---- hidden

A Boolean value that determines the visibility of the node’s contents. Animatable.

Upvotes: 9

Views: 2294

Answers (1)

maxxfrazer
maxxfrazer

Reputation: 1253

Take a look at isEnabled, I believe it does the same as SCNNode.hidden

https://developer.apple.com/documentation/realitykit/entity/3244077-isenabled

Upvotes: 8

Related Questions