Class Environment
Lighting environment used in LookDev
Inheritance
System.Object
Environment
Namespace: UnityEditor.Rendering.LookDev
Syntax
public class Environment : ScriptableObject
Fields
shadow
The shadow part of the lighting environment
Declaration
public Environment.Shadow shadow
Field Value
Type | Description |
---|---|
Environment.Shadow |
sky
The sky part of the lighting environment
Declaration
public Environment.Sky sky
Field Value
Type | Description |
---|---|
Environment.Sky |
Properties
shadowSky
Compute the shadow runtime data with editor datas
Declaration
public Sky shadowSky { get; }
Property Value
Type | Description |
---|---|
Sky |
Methods
ResetToBrightestSpot()
Compute sun position to be brightest spot of the sky
Declaration
public void ResetToBrightestSpot()