Returns a three-element SceneKit vector structure corresponding to a GLKit vector structure.
SDKs
- iOS 8.0+
- macOS 10.9+
- tvOS 9.0+
Framework
- Scene
Kit
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.