文档

Unity Engine

Unity Engine

AsNativeArray()

Convert internal data buffer to NativeArray for use in entities APIs.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeArray<byte> AsNativeArray()

Returns

Type

Description

NativeArray<byte>NativeArray representation of internal buffer.