lightmapScaleOffset
The baked lightmap UV scale and offset applied to the Mesh.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Vector4 lightmapScaleOffset { get; set; }
Remarks
This property sets the baked lightmap UV scale and offset applied to the Mesh. It is only used when lightmapped meshes are combined.
Additional Resources: Mesh.CombineMeshes, CombineInstance.realtimeLightmapScaleOffset, Renderer.lightmapScaleOffset.