enlightenVertexStream
Vertex attributes that override the primary mesh when the MeshRenderer uses lightmaps in the Realtime Global Illumination system.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Mesh enlightenVertexStream { get; set; }
Remarks
This vertex stream is used exclusively for UVs for real-time lightmaps.
When Unity renders a that uses real-time lightmaps, Unity streams the data in to instead of the data in Mesh.uv3]. For more information, see Lightmap UVs.
MeshRendererMeshRenderer.enlightenVertexStreamTEXCOORD2This data is not serialized. Unity calculates the UVs for the Realtime Global Illumination system during the precompute stage.