struct in Unity.Collections
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseNative Slice.
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. |
NativeSlice_1 | Constructor. |
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. |
NativeSlice<T> | Implicit operator for creating a NativeSlice from a NativeArray. |