Version: 2023.1

PlayerSettings.SetNormalMapEncoding

切换到手册
public static void SetNormalMapEncoding (Build.NamedBuildTarget buildTarget, NormalMapEncoding encoding);
Obsolete 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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961