Instance Property

hidden

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

Declaration

@property(nonatomic, getter=isHidden) BOOL hidden;

Discussion

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.

See Also

Modifying the Node Visibility

opacity

The opacity value of the node. Animatable.

renderingOrder

The order the node’s content is drawn in relative to that of other nodes.

castsShadow

A Boolean value that determines whether SceneKit renders the node’s contents into shadow maps.

movabilityHint

A value that indicates how SceneKit should handle the node when rendering movement-related effects.

SCNMovabilityHint

Values that inform SceneKit’s rendering for movement-related effects, used by the movabilityHint property.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software