docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UpdateTransform

    UpdateTransform(Camera, Vector3)

    Updates the light's transform with respect to a given camera and anchor point

    Declaration
    public void UpdateTransform(Camera camera, Vector3 anchor)
    Parameters
    Type Name Description
    Camera camera

    The camera to which values are relative.

    Vector3 anchor

    The anchor position.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)