文档

Unity Engine

Unity Engine

SetSecondaryTextureCount(int)

Set the number of secondary textures usable by this renderer. If the size is increased then the new data is initialized with default empty values.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public void SetSecondaryTextureCount(int size)

Parameters

size

The new size of the secondary texture array usable by this renderer.