Version: 2020.2

PlayerSettings.SetNormalMapEncoding

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

参数

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

描述

Sets the normal map encoding for the given platform.

The normal map encoding is configurable only on Android, iOS and tvOS. On all other platforms it is ignored.