Description 描述
Native Slice.
Properties 属性
| Length | Number of elements in the slice. | ||
| Stride | Returns stride set for Slice. | ||
| this[int] | Access NativeSlice elements by index. Notice that structs are returned by value and not by reference. |
Constructors
| NativeSlice_1 | Constructor. |
Public Methods 公共方法
| CopyFrom | Copy all the elements from a NativeSlice or managed array of the same length. | ||
| CopyTo | Copy all the elements of the slice to a NativeArray or managed array of the same length. | ||
| GetEnumerator | GetEnumerator. | ||
| SliceConvert | SliceConvert. | ||
| SliceWithStride | SliceWithStride. | ||
| ToArray | Convert NativeSlice to array. |
Operators 运算符
| NativeSlice<T> | Implicit operator for creating a NativeSlice from a NativeArray. |