ドキュメント

Unity Engine

Unity Engine

Resize(int, NativeArrayOptions)

Sets the length, expanding the capacity if necessary.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public void Resize(int numBits, NativeArrayOptions options = NativeArrayOptions.UninitializedMemory)

Parameters

numBits

The new length in bits.

Whether newly allocated data should be zeroed out.