Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DiscLight

A helper structure used to initialize a LightDataGI structure as a disc light.
Read time 1 minuteLast updated 11 days ago

Definition

public struct DiscLight

Fields

Value

Description

colorThe direct light color.
entityIdThe light's entityId.
falloffThe falloff model to use for baking the disc 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.
radiusThe radius of the disc light.
rangeThe light's range.
shadowTrue if the light casts shadows, otherwise False.