Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


requestedMipmapLevel

The mipmap level to load.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int requestedMipmapLevel { get; set; }

Remarks

Normally, the mipmap streaming system selects which mipmap to load based on the position of all Cameras. Setting this field forces a specific mipmap to be loaded and overrides the mipmap streaming system. The mipmap level can still be modified by budgeting memory. Use the Cubemap.streamingMipmapsPriority property to increase the chance of a particular Texture mipmap level being selected by the mipmap streaming system.
Additional Resources: Cubemap.ClearRequestedMipmapLevel.