docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPreviewCamera

    For specifying an alternate preview camera

    Namespace: Unity.EditorXR
    Assembly: solution.dll
    Syntax
    public interface IPreviewCamera

    Properties

    Name Description
    enabled

    Enable or disable the preview camera

    hmdOnlyLayerMask

    A layer mask that controls what will always render in the HMD and not in the preview

    previewCamera

    The custom preview camera

    vrCamera

    The actual HMD camera (will be provided by system)

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