Class ARBackgroundRendererAsset | AR Foundation | 2.2.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class ARBackgroundRendererAsset

    An asset used with the ARFoundationBackgroundRenderer. Useful for working with the Lightweight Render Pipeline (LWRP).

    Inheritance
    Object
    ARBackgroundRendererAsset
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public abstract class ARBackgroundRendererAsset : ScriptableObject

    Methods

    CreateARBackgroundRenderer()

    Create a ARFoundationBackgroundRenderer.

    Declaration
    public abstract ARFoundationBackgroundRenderer CreateARBackgroundRenderer()
    Returns
    Type Description
    ARFoundationBackgroundRenderer

    A new ARFoundationBackgroundRenderer.

    CreateCustomMaterial()

    Creates the Material necessary for the custom background rendering.

    Declaration
    public abstract Material CreateCustomMaterial()
    Returns
    Type Description
    Material

    A Material used for background rendering.

    CreateHelperComponents(GameObject)

    Creates helper components associated with gameObject.

    Declaration
    public abstract void CreateHelperComponents(GameObject gameObject)
    Parameters
    Type Name Description
    GameObject gameObject

    The GameObject on which to create the components.

    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