uniformlyScale
Swift declarationmutating func uniformlyScale(by scale: Double)Uniformly scales the entity by the specified scalar value. - Parameter scale: The value that defines that scale.
protocol · iOS 16.0+ · SDK 27.1
protocol Scalable3DA set of methods that defines the interface for Spatial entities that can scale.
mutating func uniformlyScale(by scale: Double)Uniformly scales the entity by the specified scalar value. - Parameter scale: The value that defines that scale.
mutating func scale(by scale: Size3D)Scales the entity by the specified size. - Parameter size: The size structure that defines that scale.
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.
No declarations were skipped in this snapshot.