Enumeration

SCNCullMode

The modes SceneKit uses to determine which polygons to render in a surface, used by the cullMode property.

Declaration

typedef enum SCNCullMode : NSInteger {
    ...
} SCNCullMode;

Overview

The vertex data and normal vectors in a geometry designate which side of each polygon is to be considered its front face, and the geometry’s orientation with respect to the camera determines which front surfaces are currently visible. Typically, back-facing surfaces are found only on the interior of a closed geometry, obscured by front-facing surfaces, so rendering these surfaces has a performance cost but no visible effect.

Topics

Constants

SCNCullBack

The mode for culling back-facing polygons (and rendering only front-facing polygons).

SCNCullFront

The mode for culling front-facing polygons (and rendering only back-facing polygons).

See Also

Customizing Rendered Appearance

litPerPixel

A Boolean value that determines whether SceneKit performs lighting calculations per vertex or per pixel. Animatable.

doubleSided

A Boolean value that determines whether SceneKit should render both front and back faces of a surface. Animatable.

cullMode

The mode determining which faces of a surface SceneKit renders. Animatable.