Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Stride

Gets the stride value for the NativeSlice<T> instance.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int Stride { get; }

Remarks

The stride value allows a NativeSlice to represent non-contiguous memory ranges.