Version: 2021.2
언어: 한국어

NativeSlice<T0>

struct in Unity.Collections

매뉴얼로 전환

설명

Native Slice.

변수

LengthNumber of elements in the slice.
StrideReturns stride set for Slice.
this[int]Access NativeSlice elements by index. Notice that structs are returned by value and not by reference.

생성자

NativeSlice_1Constructor.

Public 함수

CopyFromCopy all the elements from a NativeSlice or managed array of the same length.
CopyToCopy all the elements of the slice to a NativeArray or managed array of the same length.
GetEnumeratorGetEnumerator.
SliceConvertSliceConvert.
SliceWithStrideSliceWithStride.
ToArrayConvert NativeSlice to array.

연산자

NativeSlice<T>Implicit operator for creating a NativeSlice from a NativeArray.