ドキュメント

Unity Engine

Unity Engine

SetNormalMapEncoding

Sets the normal map encoding for the given build target.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetNormalMapEncoding(BuildTargetGroup, NormalMapEncoding)

Sets the normal map encoding for the given build target.
注意
Deprecated. Use SetNormalMapEncoding(NamedBuildTarget buildTarget, NormalMapEncoding encoding) instead
public static void SetNormalMapEncoding(BuildTargetGroup platform, NormalMapEncoding encoding)

Parameters

The platform build target group whose normal map encoding you want to set.

The desired normal map encoding.

Remarks

The normal map encoding is configurable on Android, iOS and tvOS. On all other platforms it is ignored.
BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.

SetNormalMapEncoding(NamedBuildTarget, NormalMapEncoding)

Sets the normal map encoding for the given build target.
public static void SetNormalMapEncoding(NamedBuildTarget buildTarget, NormalMapEncoding encoding)

Parameters

buildTarget

The NamedBuildTarget (only Android, iOS and tvOS).

The desired normal map encoding.

Remarks

The normal map encoding is configurable on Android, iOS and tvOS. On all other platforms it is ignored.
BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.