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

# GLKVector3AddScalar(_:_:)

Returns a new vector created by adding a scalar value to each component of a vector.

```
func GLKVector3AddScalar(_ vector: GLKVector3, _ value: Float) -> GLKVector3
```

## Parameters

`vector`

A vector.

`value`

A scalar value.

## Return Value

A new vector.

---

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)