Version: 2019.4

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.