기술 자료

Unity Engine

Unity Engine

NativeArrayExtensions

Extension methods for NativeArray.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static class NativeArrayExtensions

Static Methods

Method

Description

ArraysEqualReturns true if this array and another have equal length and content.
ContainsReturns true if a particular value is present in a buffer.
CopyFromCopies all elements of specified container to array.
IndexOfFinds the index of the first occurrence of a particular value in a buffer.
ReinterpretReturns 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"&gt;Array reinterpretation</a>.

Structs

Struct

Description

NativeArrayExtensions.NativeArrayStaticId<T>Provides a Burst compatible id for NativeArray
T
types. Used by the Job Safety System.