Documentation

Unity Engine

Unity Engine

ReinterpretLoad<U>(int)

Reinterpret and load data starting at underlying index as a different type.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

ReinterpretLoad<T>(int)

public U ReinterpretLoad<U>(int sourceIndex) where U : struct

Parameters

sourceIndex

Index in the underlying array where the load should start.

Returns

Type

Description

TThe loaded data.