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

# GLKMatrix3Scale(_:_:_:_:)

Returns a new `3x3` matrix created by concatenating a matrix with a scaling transform.

```
func GLKMatrix3Scale(_ matrix: GLKMatrix3, _ sx: Float, _ sy: Float, _ sz: Float) -> GLKMatrix3
```

## Parameters

`matrix`

The source matrix.

`sx`

The amount to scale the `x` component.

`sy`

The amount to scale the `y` component.

`sz`

The amount to scale the `z` component.

## Return Value

A new matrix.

---

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)