<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Spatial",
  "identifier" : "/documentation/Spatial/Scalable3D",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Spatial"
    ],
    "preciseIdentifier" : "s:7Spatial10Scalable3DP"
  },
  "title" : "Scalable3D"
}
-->

# Scalable3D

A set of methods that defines the interface to scale Spatial entities.

```
protocol Scalable3D
```

## Topics

### Instance methods

[`func scale(by: Size3D)`](/documentation/Spatial/Scalable3D/scale(by:))

Scales the entity by the specified size.

[`func scaleBy(x: Double, y: Double, z: Double)`](/documentation/Spatial/Scalable3D/scaleBy(x:y:z:))

Scales the entity by the specified values.

[`func scaled(by: Size3D) -> Self`](/documentation/Spatial/Scalable3D/scaled(by:))

Returns the entity that results from scaling with the specified size.

[`func scaledBy(x: Double, y: Double, z: Double) -> Self`](/documentation/Spatial/Scalable3D/scaledBy(x:y:z:))

Returns the entity that results from scaling with the specified values.

[`func uniformlyScale(by: Double)`](/documentation/Spatial/Scalable3D/uniformlyScale(by:))

Uniformly scales the entity by the specified scalar value.

[`func uniformlyScaled(by: Double) -> Self`](/documentation/Spatial/Scalable3D/uniformlyScaled(by:))

Returns the entity that results from uniformly scaling with the specified scalar value.

## Relationships

### Conforming Types

[`Vector3D`](/documentation/Spatial/Vector3D)

[`Rect3D`](/documentation/Spatial/Rect3D)

[`AffineTransform3D`](/documentation/Spatial/AffineTransform3D)

[`Size3D`](/documentation/Spatial/Size3D)

[`ProjectiveTransform3D`](/documentation/Spatial/ProjectiveTransform3D)

---

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)