기술 자료

Unity Engine

Unity Engine

SetTextureMipmapLimitSettings(string, TextureMipmapLimitSettings)

Applies new TextureMipmapLimitSettings to the indicated texture mipmap limit group.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static void SetTextureMipmapLimitSettings(string groupName, TextureMipmapLimitSettings textureMipmapLimitSettings)

Parameters

groupName

Name of the texture mipmap limit group to modify.

textureMipmapLimitSettings

The new texture mipmap limit settings to apply.

Remarks

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.