기술 자료

Unity Engine

Unity Engine

DiscLight

A helper structure used to initialize a LightDataGI structure as a disc light.
읽는 시간 1분최근 업데이트: 한 달 전

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.