Class ARBackgroundRendererAsset | AR Foundation | 2.2.0-preview.6
docs.unity.cn
    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 © 2019 Unity Technologies
    Generated by DocFX