A Boolean value that determines the visibility of the node’s contents. Animatable.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The default value of this property is NO, specifying that SceneKit should render geometries and use lights attached to the node or its children. Change this property’s value to
YES to exclude attached geometries and lights from rendering. (Cameras attached to the node or its children are not affected by this property.) Hiding a node also hides its child nodes recursively.
You can animate changes to this property’s value. See Animating SceneKit Content. Hiding or showing a node in an animation results in a fade-in or fade-out effect.