文档

Unity Engine

Unity Engine

INativeList<T>

A resizable list.
阅读时间1 分钟最后更新于 1 个月前

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