lightmapped property

bool lightmapped
getter/setter pair

Whether this mesh's vertex colour is its place in a lightmap.

The renderer branches on it to pick the lightmapped vertex shader, the way it does on skeleton for the skinned one: the same layout, read with color.xy as a coordinate and the tint held at white. A level's brush batches set it when the level came with a map; nothing else does.

Implementation

bool lightmapped = false;