apply
Swift declarationmutating func apply(_ transform: AffineTransform3D)Applies an affine transform. - Parameter transform: The affine transform.
protocol · iOS 16.0+ · SDK 27.1
protocol Primitive3D : Decodable, Encodable, EquatableA set of methods common to Spatial primitives.
mutating func apply(_ transform: AffineTransform3D)Applies an affine transform. - Parameter transform: The affine transform.
mutating func apply(_ transform: ProjectiveTransform3D)Applies a projective transform. - Parameter transform: The projective transform.
mutating func apply(_ pose: Pose3D)Applies a pose. - Parameter pose: The pose.
mutating func unapply(_ transform: AffineTransform3D)Unapplies an affine transform. - Parameter transform: The affine transform. - Note: The transform must be rectilinear otherwise this function returns `self`.
mutating func unapply(_ transform: ProjectiveTransform3D)Unapplies a projective transform. - Parameter transform: The projective transform. - Note: When unapplying transforms on rectangle structures, the transform must be rectilinear, otherwise this function has no effect.
mutating func unapply(_ pose: Pose3D)Unapplies a pose. - Parameter pose: The projective transform. - Note: When unapplying transforms on size and rectangle structures, the transform must be rectilinear, otherwise this function has no effect.
No declarations were skipped in this snapshot.