Version: 2019.3

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_1コンストラクター

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.

Operator

NativeSlice<T>Implicit operator for creating a NativeSlice from a NativeArray.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961