docs.unity3d.com
    Show / Hide Table of Contents

    Light Anchor

    You can use a Light Anchor to light a scene in rendered Camera Space. You can also make the Light move and rotate to match your lighting set up. To do this, attach a Transform to the Light Anchor in the Anchor Position Override field.

    Note: The reference Camera that adjusts the light rotation in the above example is the Main Camera. This means that the Common presets can create a different result in the Scene View if your view is not aligned with the Main Camera.

    Properties

    Property Description
    Orbit Use the left icon to control the Orbit of the light. This tool becomes green when you move the icon.
    Elevation Use the middle icon to control the Elevation of the light. This tool becomes blue when you move the icon.
    Roll Use the right icon to control the Rollof the light. This tool becomes gray when you move the icon. This is especially useful if the light has an IES or a Cookie.
    Distance Controls the distance between the light and its anchor in world space.
    Up Direction Defines the space of the up direction of the anchor. When this value is set to Local, the Up Direction is relative to the camera.
    Anchor Position Override Allows you to use a GameObject's Transform as anchor position instead of the LightAnchor's Transform. When the Transform of the GameObject you assigned to this property changes, the Light Anchor's Transform also changes.
    Common Assigns a preset to the light component based on the behaviour of studio lights.
    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