Contents

SCNMatrix4

A representation of a 4 x 4 matrix.

Declaration

struct SCNMatrix4

Overview

SceneKit uses matrices to represent coordinate space transformations, which in turn can represent the combined position, rotation or orientation, and scale of an object in three-dimensional space.

Topics

Creating Transform Matrices

Creating Matrices from Elements

Performing Matrix Operations

Converting Matrix Types

Comparing Matrices

Identity Constant

Matrix Elements

See Also

Transforms and Rotations