LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

CombineInstance.realtimeLightmapScaleOffset

public Vector4 realtimeLightmapScaleOffset;

Description

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

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

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