Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

NativeSlice<T0>.SliceConvert

Declaration

public NativeSlice<U> SliceConvert();

Returns

NativeSlice<U> A new NativeSlice<T0> that views the same memory, but is reinterpreted as the target type.

Description

Reinterprets a NativeSlice with a different data type (type punning).