# TransformAccessArray

> Construct a TransformAccessArray from a managed array of Transform components.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Jobs](/engine/6000.7/script-reference/unityengine/jobs.md)
* **Assembly:** UnityEngine.CoreModule

## TransformAccessArray(Transform\[], int)

Construct a TransformAccessArray from a managed array of Transform components.

```csharp
public TransformAccessArray(Transform[] transforms, int desiredJobCount = -1)
```

### Parameters

**** (\[Transform\[]]\(/engine/6000.7/script-reference/unityengine/transform)): Array of Transform components to initially populate TransformAccessArray.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Desired job count.

## TransformAccessArray(NativeArray\<TransformHandle>, int)

Construct a TransformAccessArray from a NativeArray of Transformhandles.

```csharp
public TransformAccessArray(NativeArray<TransformHandle> transformHandles, int desiredJobCount = -1)
```

### Parameters

**** (\[NativeArray\<TransformHandle>]\(/engine/6000.7/script-reference/unity/collections/nativearray1)): NativeArray of TransformHandles to initially populate TransformAccessArray**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Desired job count.

## TransformAccessArray(int, int)

Construct a TransformAccessArray with enough memory allocated to hold the specified number of transforms, and with initial length of 0.

```csharp
public TransformAccessArray(int capacity, int desiredJobCount = -1)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The initial capacity of the array, representing the number of transforms it can hold before needing to resize its internal storage.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Desired job count.
