Version: 2021.3

PlayerSettings.SetNormalMapEncoding

切换到手册
public static void SetNormalMapEncoding (Build.NamedBuildTarget buildTarget, NormalMapEncoding encoding);
public static void SetNormalMapEncoding (BuildTargetGroup platform, NormalMapEncoding encoding);

参数

encoding The desired normal map encoding.
buildTarget The NamedBuildTarget (only Android, iOS and tvOS).
platform The platform build target group whose normal map encoding you want to set.

描述

Sets the normal map encoding for the given build target.

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.