docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawCameraSceneViewOverlay

    DrawCameraSceneViewOverlay(Object, SceneView, GetPreviewCamera)

    Draw the overlay of a Camera

    Declaration
    public static void DrawCameraSceneViewOverlay(Object target, SceneView sceneView, CameraEditorUtils.GetPreviewCamera previewCameraGetter)
    Parameters
    Type Name Description
    Object target

    The Camera that we want a preview

    SceneView sceneView

    The scene view where to draw it

    CameraEditorUtils.GetPreviewCamera previewCameraGetter

    The way to get the preview camera corresponding to the target

    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)