Version: 2023.2
言語: 日本語
public Mesh enlightenVertexStream ;

説明

Vertex attributes that override the primary mesh when the MeshRenderer uses lightmaps in the Realtime Global Illumination system.

This vertex stream is used exclusively for UVs for real-time lightmaps.

When Unity renders a MeshRenderer that uses real-time lightmaps, Unity streams the data in MeshRenderer.enlightenVertexStream to `TEXCOORD2` instead of the data in Mesh.uv3]. For more information, see Lightmap UVs.

This data is not serialized. Unity calculates the UVs for the Realtime Global Illumination system during the precompute stage.

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