기술 자료

Unity Engine

Unity Engine

lightmapCoord

The uv lightmap coordinate at the impact point.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
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.