기술 자료

Unity Engine

Unity Engine

spriteBatchVertexThreshold

Specifies the max vertex limit for Sprite batching.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static int spriteBatchVertexThreshold { get; set; }

Remarks

Unity will automatically batch SpriteRenderers into the same draw call if they share the same Material and fulfill other criteria. The default limit is 300 vertices and this setting allows users to override this limit in the range (300, 8000). See also: Dynamic Batching.