Class Environment
Lighting environment used in LookDev
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: UnityEditor.Rendering.LookDev
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public class Environment : ScriptableObject
Fields
exposure
Exposure to use with this Sky
Declaration
public float exposure
Field Value
Type | Description |
---|---|
float |
rotation
Offset on the longitude. Affect both sky and sun position in Shadow part
Declaration
public float rotation
Field Value
Type | Description |
---|---|
float |
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 |
---|---|
float |
sunLongitude
The Longitude position of the sun casting shadows
Declaration
public float sunLongitude { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
ResetToBrightestSpot()
Compute sun position to be brightest spot of the sky
Declaration
public void ResetToBrightestSpot()