# ReadArrayElementWithStride<T>(void*, int, int)

> Read array element with stride.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections.LowLevel.Unsafe](/engine/6000.3/script-reference/unity/collections/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static T ReadArrayElementWithStride<T>(void* source, int index, int stride)
```

### Parameters

**** (\[void\*]\(https\://learn.microsoft.com/dotnet/api/system.void)): Memory pointer.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Array index.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Stride.

### Returns

| Type | Description    |
| ---- | -------------- |
| T    | Array element. |
