ドキュメント

Unity Engine

Unity Engine

DirectionalLight

A helper structure used to initialize a LightDataGI structure as a directional light.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct DirectionalLight

Fields

Value

Description

colorThe direct light color.
entityIdThe light's entityId.
indirectColorThe indirect light color.
modeThe lightmode.
orientationThe light's orientation. Only relevant for cookie placement.
penumbraWidthRadianThe penumbra width for soft shadows in radians.
positionThe light's position. Only relevant for cookie placement.
shadowTrue if the light casts shadows, otherwise False.