Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CombineInstance.lightmapScaleOffset

public Vector4 lightmapScaleOffset;

Description

The baked lightmap UV scale and offset applied to the Mesh.

This property sets the baked lightmap UV scale and offset applied to the Mesh. It is only used when lightmapped meshes are combined.

See Also: Mesh.CombineMeshes, realtimeLightmapScaleOffset, Renderer.lightmapScaleOffset.