文档

Unity Engine

Unity Engine

Alignment

The alignment.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int Alignment { get; set; }

Remarks

Must be power of 2 that's greater than or equal to 0.
Set alignment "before" the allocation is made. Setting it after has no effect on the allocation.