Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Alignment

The alignment.
Read time 1 minuteLast updated 12 days ago

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.