SceneKit 3D Data Types

SceneKit-specific vectors, matrices, and related functions and operations.

Overview

Topics

Vectors

struct SCNVector3

A representation of a three-component vector.

struct SCNVector4

A representation of a four-component vector.

Transforms and Rotations

struct SCNMatrix4

A representation of a 4 x 4 matrix.

typealias SCNQuaternion

A representation of a quaternion.

Scalars

typealias SCNFloat

The element type for SceneKit vectors and matrices.