Instance Property

primitiveType

The drawing primitive that connects vertices when rendering the geometry element.

Declaration

@property(nonatomic, readonly) SCNGeometryPrimitiveType primitiveType;

Discussion

For possible values, see SCNGeometryPrimitiveType.

See Also

Working with Indexes

data

The data describing the geometry element.

bytesPerIndex

The number of bytes that represent each index value in the element’s data.

SCNGeometryPrimitiveType

The drawing primitive that connects vertices when rendering a geometry element, used by the primitiveType property to specify how SceneKit interprets the geometry element’s data.

primitiveCount

The number of primitives in the element.

primitiveRange

The range of primitives from the geometry element to render.