Function

SCNVector3ToGLKVector3

Returns a three-element GLKit vector structure corresponding to a SceneKit vector structure.

Declaration

GLKVector3 SCNVector3ToGLKVector3(SCNVector3 vector);

Parameters

vector

A three-element SceneKit vector structure.

Return Value

A three-element GLKit vector structure representing the same vector as the input parameter.

See Also

Converting Vector Types

SCNVector3FromGLKVector3

Returns a three-element SceneKit vector structure corresponding to a GLKit vector structure.