Class Environment
Lighting environment used in LookDev
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEditor.Rendering.LookDev
Syntax
public class Environment : ScriptableObject
Fields
exposure
Exposure to use with this Sky
Declaration
public float exposure
Field Value
Type | Description |
---|---|
Single |
rotation
Offset on the longitude. Affect both sky and sun position in Shadow part
Declaration
public float rotation
Field Value
Type | Description |
---|---|
Single |
shadowColor
The shading tint to used when computing shadow from sun
Declaration
public Color shadowColor
Field Value
Type | Description |
---|---|
Color |
Properties
cubemap
The cubemap used for this part of the lighting environment
Declaration
public Cubemap cubemap { get; set; }
Property Value
Type | Description |
---|---|
Cubemap |
sky
Implicit conversion operator to runtime version of sky datas
Declaration
public Sky sky { get; }
Property Value
Type | Description |
---|---|
Sky |
sunLatitude
The Latitude position of the sun casting shadows
Declaration
public float sunLatitude { get; set; }
Property Value
Type | Description |
---|---|
Single |
sunLongitude
The Longitude position of the sun casting shadows
Declaration
public float sunLongitude { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
ResetToBrightestSpot()
Compute sun position to be brightest spot of the sky
Declaration
public void ResetToBrightestSpot()