Version: 2022.2
언어: 한국어

VisibleLight

struct in UnityEngine.Rendering

매뉴얼로 전환

설명

Holds data of a visible light.

After ScriptableRenderContext.Cull is done, CullingResults.visibleLights will contain an array of lights that are visible. The visible light structure contains packed information for most commonly used Light variables, and a VisibleLight.light reference to the Light component itself.

See Also: CullingResults.visibleLights, Light.

변수

finalColorLight color multiplied by intensity.
intersectsFarPlaneLight intersects far clipping plane.
intersectsNearPlaneLight intersects near clipping plane.
lightAccessor to Light component.
lightTypeLight type.
localToWorldMatrixLight transformation matrix.
rangeLight range.
screenRectLight's influence rectangle on screen.
spotAngleSpot light angle.