Initializer

init(scnVector4:)

Creates a value object that contains the specified four-element SceneKit vector.

Declaration

init(scnVector4 v: SCNVector4)

Parameters

vector

The value for the new object.

Return Value

A new value object that contains the vector information.

See Also

Working with SceneKit Vector and Matrix Values

init(scnVector3: SCNVector3)

Creates a value object that contains the specified three-element SceneKit vector.

init(scnMatrix4: SCNMatrix4)

Creates a value object that contains the specified SceneKit 4 x 4 matrix.

var scnVector3Value: SCNVector3

The three-element Scene Kit vector representation of the value.

var scnVector4Value: SCNVector4

The four-element Scene Kit vector representation of the value.

var scnMatrix4Value: SCNMatrix4

The Scene Kit 4 x 4 matrix representation of the value.