One Logo Pool Ball
Spatial · IOS API REFERENCE

Scalable3D

protocol · iOS 16.0+ · SDK 27.1

protocol Scalable3D

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

Members (3)

method · iOS 16.0+

uniformlyScale

Swift declaration
mutating func uniformlyScale(by scale: Double)

Uniformly scales the entity by the specified scalar value. - Parameter scale: The value that defines that scale.

method · iOS 16.0+

scale

Swift declaration
mutating func scale(by scale: Size3D)

Scales the entity by the specified size. - Parameter size: The size structure that defines that scale.

method · iOS 16.0+

scaleBy

Swift declaration
mutating func scaleBy(x: Double = 1, y: Double = 1, z: Double = 1)

Scales the entity by the specified values. - Parameter x: The scale factor on the `x` dimension. - Parameter y: The scale factor on the `y` dimension. - Parameter z: The scale factor on the `z` dimension.

Skipped declarations

No declarations were skipped in this snapshot.

All Spatial types →