Version: 2018.4
Experimental: this API is experimental and might be changed or removed in the future.

VisibleLight

struct in UnityEngine.Experimental.Rendering

マニュアルに切り替える

説明

Holds data of a visible light.

After CullResults.Cull is done, CullResults.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.

関連項目: CullResults.visibleLights, Light.

変数

finalColorLight color multiplied by intensity.
flagsLight flags, see VisibleLightFlags.
lightAccessor to Light component.
lightTypeLight type.
localToWorldLight transformation matrix.
rangeLight range.
screenRectLight's influence rectangle on screen.
spotAngleSpot light angle.