Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PointLight

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

Definition

public struct PointLight

Fields

Value

Description

colorThe direct light color.
entityIdThe light's entityId.
falloffThe falloff model to use for baking the point 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.
shadowTrue if the light casts shadows, otherwise False.
sphereRadiusThe light's sphere radius, influencing soft shadows.