Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SpotLightBoxShape

Use this Struct to help initialize a LightDataGI structure as a box-shaped spot light.
Read time 1 minuteLast updated 8 days ago

Definition

public struct SpotLightBoxShape

Fields

Value

Description

colorThe direct light color.
entityIdThe light's entityId.
heightThe height of the box light.
indirectColorThe indirect light color.
indirectMultiplierThe multiplier for indirect light intensity. Corresponds to Light.bounceIntensity.
modeThe lightmode.
orientationThe light's orientation.
positionThe light's position.
rangeThe light's range.
shadowSpecifies whether the light casts shadows or not. This is true if the light does cast shadows and false otherwise.
widthThe width of the box light.