ReinterpretLoad<U>(int)
Reinterpret and load data starting at underlying index as a different type.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
ReinterpretLoad<T>(int)
public U ReinterpretLoad<U>(int sourceIndex) where U : struct
Parameters
Index in the underlying array where the load should start.
Returns
Type | Description |
|---|---|
| T | The loaded data. |