Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


INativeList<T>

A resizable list.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Interface
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public interface INativeList<T> : IIndexable<T> where T : unmanaged

Properties

Property

Description

CapacityThe number of elements that fit in the current allocation.
IsEmptyWhether this list is empty.
this[]The element at an index.

Methods

Method

Description

ClearSets the length to 0.

Inheritance