Class ARBackgroundRendererAsset
An asset used with the ARFoundationBackgroundRenderer. Useful for working with the Lightweight Render Pipeline (LWRP).
Namespace: UnityEngine.XR.ARFoundation
Syntax
public abstract class ARBackgroundRendererAsset : ScriptableObject
Methods
CreateARBackgroundRenderer()
Create a ARFoundationBackgroundRenderer.
Declaration
public abstract ARFoundationBackgroundRenderer CreateARBackgroundRenderer()
Returns
Type | Description |
---|---|
ARFoundationBackgroundRenderer |
CreateCustomMaterial()
Creates the Material
necessary for the custom background rendering.
Declaration
public abstract Material CreateCustomMaterial()
Returns
Type | Description |
---|---|
Material | A |
CreateHelperComponents(GameObject)
Creates helper components associated with gameObject
.
Declaration
public abstract void CreateHelperComponents(GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | The |