SCNVector4
A representation of a four-component vector.
Declaration
struct SCNVector4Overview
SceneKit uses four-component vectors to represent multiple kinds of data:
Axis-angle rotation or torque. The
x,y, andzfields contain the normalized x-, y-, and z-components of the rotation axis, and thewfield contains the rotation angle, in radians, or torque magnitude, in newton-meters.Color value (or range). The
x,y,z, andwfields contain the red, green, blue, and alpha components of the color, or the width of the color variation range in each component.