Version: 2017.1
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.

See Also: 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.