Version: 2021.3


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.