文档

Unity Engine

Unity Engine

AsSpan()

Exposes NativeArray<T> data as a System.Span<T>.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public readonly Span<T> AsSpan()

Returns

Type

Description

Span<T>A read-write
System.Span<T>
.