ドキュメント

Unity Engine

Unity Engine

Reinterpret<T, U>(NativeArray<T>)

Returns the reinterpretation of this array into another kind of NativeArray. See \<a href="https://docs.unity3d.com/Packages/com.unity.collections@latest?subfolder=/manual/allocation.html#array-reinterpretation"\>Array reinterpretation\</a\>.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public static NativeArray<U> Reinterpret<T, U>(this NativeArray<T> array) where T : unmanaged where U : unmanaged

Parameters

The array to reinterpret.

Returns

Type

Description

NativeArray<T>The reinterpretation of this array into another kind of NativeArray.