<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKQuaternionMakeWithVector3(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@F@GLKQuaternionMakeWithVector3"
  },
  "title" : "GLKQuaternionMakeWithVector3(_:_:)"
}
-->

# GLKQuaternionMakeWithVector3(_:_:)

Returns a quaternion created from a vector and a scalar.

```
func GLKQuaternionMakeWithVector3(_ vector: GLKVector3, _ scalar: Float) -> GLKQuaternion
```

## Parameters

`vector`

The vector portion of the new quaternion.

`scalar`

The scalar portion of the new quaternion.

## Return Value

A new quaternion.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)