---
title: "init(identity:)"
framework: modelio
role: symbol
role_heading: Initializer
path: "modelio/mdltransform/init(identity:)"
---

# init(identity:)

Initializes a transform object to the identity transformation.

## Declaration

```swift
convenience init(identity: ())
```

## Return Value

Return Value A new transform object.

## Discussion

Discussion A transform matrix defines the local coordinate space transformations for a 3D object—that is, its position, orientation, shear, and scale. The identity transform is equivalent to no transformation, so an object affected by the transform uses the same coordinate space as its parent. After initializing a transform object, you can use the translation, rotation, shear, and scale properties to individually work with those factors of the transform (or the corresponding methods listed in Using Factors of an Animated Transform to associate time-based transformation with each factor). To work with the complete transform matrix defined by those factors, use the matrix property.

## See Also

### Creating a Transform Object

- [init(matrix:)](modelio/mdltransform/init(matrix:).md)
- [init(transformComponent:)](modelio/mdltransform/init(transformcomponent:).md)
- [init(matrix:resetsTransform:)](modelio/mdltransform/init(matrix:resetstransform:).md)
- [init(transformComponent:resetsTransform:)](modelio/mdltransform/init(transformcomponent:resetstransform:).md)
