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.
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.