---
title: "setLocalTransform(_:)"
framework: modelio
role: symbol
role_heading: Instance Method
path: "modelio/mdltransformcomponent/setlocaltransform(_:)"
---

# setLocalTransform(_:)

Sets a new static transform matrix, overriding any time-based transform information.

## Declaration

```swift
optional func setLocalTransform(_ transform: matrix_float4x4)
```

## Parameters

- `transform`: A new static transform matrix.

## Discussion

Discussion Calling this method sets both the minimumTime and maximumTime properties to zero.

## See Also

### Working with Static Transforms

- [matrix](modelio/mdltransformcomponent/matrix.md)
