Skip to content

API > LineRenderer > lightmapScaleOffset


LineRenderer.lightmapScaleOffset⚓︎

Name Type
lightmapScaleOffset Vector4

Description⚓︎

The UV scale & offset used for a lightmap. (Read-Only)

Extra Detail⚓︎

A lightmap is a texture atlas and multiple Renderers can use different portions of the same lightmap.The vector's x and y refer to UV scale, while z and w refer to UV offset.