Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AsSpan()

Exposes NativeArray<T> data as a System.Span<T>.
Read time 1 minuteLast updated 7 days ago

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>
.