spriteBatchVertexThreshold
Specifies the max vertex limit for Sprite batching.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.