Version: 2020.3
言語: 日本語

説明

Sort objects based on distance along a custom axis.

Transparent objects are sorted based on distance along a custom axis. For example, you could specify this mode and the axis to be (0.0f, 1.0f, 0.0f). This will effectively make renderers sorted to the back as they go up in Y. This is a common feature of 2.5D games.

Note: This has a lower priority compared to other sorting criterias such as SortingLayer.

See Also: Camera.transparencySortMode, Camera.transparencySortAxis, GraphicsSettings.transparencySortMode.

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