ドキュメント

Unity Engine

Download Unity

Unity Engine

lightmapCoord

The uv lightmap coordinate at the impact point.
読み終わるまでの所要時間 1 分最終更新 1日前

Definition

public Vector2 lightmapCoord { get; }

Remarks

This can be used for sampling the lightmap and setting the sampled color value as the material color of a moving object to make it roughly match the baked lighting.