Class ARBackgroundRenderer | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ARBackgroundRenderer

    Add this component to a Camera to copy the color camera's texture onto the background.

    Inheritance
    System.Object
    ARBackgroundRenderer
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public sealed class ARBackgroundRenderer : MonoBehaviour
    Remarks

    This is the component-ized version of UnityEngine.XR.ARBackgroundRenderer.

    Properties

    backgroundRenderer

    Get the (non-component) ARBackgroundRenderer which does the real work.

    Declaration
    public ARBackgroundRenderer backgroundRenderer { get; }
    Property Value
    Type Description
    UnityEngine.XR.ARBackgroundRenderer

    material

    The Material to use for background rendering.

    Declaration
    public Material material { get; set; }
    Property Value
    Type Description
    Material
    Remarks

    If null, the ARSession will attempt to create a material using the shader provided by the platform plugin.

    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