Function

SCNVector3FromGLKVector3

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

Declaration

SCNVector3 SCNVector3FromGLKVector3(GLKVector3 vector);

Parameters

vector

A three-element GLKit vector structure.

Return Value

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

See Also

Converting Vector Types

SCNVector3ToGLKVector3

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