Version: 2023.2

TextureMipmapLimitGroups

class in UnityEngine

切换到手册

描述

Script interface for texture mipmap limit groups.

Use this class to add, remove or detect texture mipmap limit groups in C#.

Additional resources: TextureMipmapLimitSettings, QualitySettings.globalTextureMipmapLimit.

静态函数

CreateGroup(Editor Only) Attempts to create a texture mipmap limit group with the indicated groupName.
GetGroupsRetrieves a string array containing the name of all texture mipmap limit groups available in the project.
HasGroupChecks whether a texture mipmap limit group with the indicated groupName exists in the project. This operation fails and throws an exception if groupName is null.
RemoveGroup(Editor Only) Attempts to remove a texture mipmap limit group with the indicated groupName.