The x-, y-, and z-axis scale factors of the transform relative to its parent coordinate space.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Model I/O
Declaration
@property(nonatomic, readwrite) vector _float3 scale;
Discussion
Together with the translation
, rotation
, and shear
properties, this property defines the local coordinate space for any object affected by the transform, relative to a parent coordinate space. Use the matrix
property to work with the complete transform.
If the transform includes time-based information, reading this property returns the scale as of the earliest time sample (as reported by the minimum
property). Writing to this property erases any time-sampled data for the scale factor. To work with time-sampled data from an animated transform, use the scale
and set
methods.