Show / Hide Table of Contents

Class NativeSliceExtensions

Inheritance
Object
NativeSliceExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Unity.Collections
Assembly: UnityEngine.dll
Syntax
public static class NativeSliceExtensions

Methods

| Improve this Doc View Source

Slice<T>(NativeArray<T>)

Declaration
public static NativeSlice<T> Slice<T>(this NativeArray<T> thisArray)
    where T : struct
Parameters
Type Name Description
NativeArray<T> thisArray
Returns
Type Description
NativeSlice<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

Slice<T>(NativeArray<T>, Int32)

Declaration
public static NativeSlice<T> Slice<T>(this NativeArray<T> thisArray, int start)
    where T : struct
Parameters
Type Name Description
NativeArray<T> thisArray
Int32 start
Returns
Type Description
NativeSlice<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

Slice<T>(NativeArray<T>, Int32, Int32)

Declaration
public static NativeSlice<T> Slice<T>(this NativeArray<T> thisArray, int start, int length)
    where T : struct
Parameters
Type Name Description
NativeArray<T> thisArray
Int32 start
Int32 length
Returns
Type Description
NativeSlice<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

Slice<T>(NativeSlice<T>)

Declaration
public static NativeSlice<T> Slice<T>(this NativeSlice<T> thisSlice)
    where T : struct
Parameters
Type Name Description
NativeSlice<T> thisSlice
Returns
Type Description
NativeSlice<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

Slice<T>(NativeSlice<T>, Int32)

Declaration
public static NativeSlice<T> Slice<T>(this NativeSlice<T> thisSlice, int start)
    where T : struct
Parameters
Type Name Description
NativeSlice<T> thisSlice
Int32 start
Returns
Type Description
NativeSlice<T>
Type Parameters
Name Description
T
| Improve this Doc View Source

Slice<T>(NativeSlice<T>, Int32, Int32)

Declaration
public static NativeSlice<T> Slice<T>(this NativeSlice<T> thisSlice, int start, int length)
    where T : struct
Parameters
Type Name Description
NativeSlice<T> thisSlice
Int32 start
Int32 length
Returns
Type Description
NativeSlice<T>
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
Back to top Generated by DocFX