Version: 2022.3

QualitySettings.SetTextureMipmapLimitSettings

切换到手册
public static void SetTextureMipmapLimitSettings (string groupName, TextureMipmapLimitSettings textureMipmapLimitSettings);

参数

groupName Name of the texture mipmap limit group to modify.
textureMipmapLimitSettings The new texture mipmap limit settings to apply.

描述

Applies new TextureMipmapLimitSettings to the indicated texture mipmap limit group.

Throws an exception if Unity cannot find groupName.

At run time, if TextureMipmapLimitSettings.limitBias corresponds to a mip level that has been stripped, Unity sets the value to the closest mip level that has not been stripped. For additional information regarding mipmap stripping, see PlayerSettings.mipStripping.

See Also: TextureMipmapLimitSettings, GetTextureMipmapLimitSettings.