Class Environment | Core RP Library | 8.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class Environment

    Lighting environment used in LookDev

    Inheritance
    Object
    Environment
    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()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023