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 8 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.
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.