Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 10 days ago

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.