SetNormalMapEncoding
Sets the normal map encoding for the given build target.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
SetNormalMapEncoding(BuildTargetGroup, NormalMapEncoding)
Sets the normal map encoding for the given build target.
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
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.