docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DefaultLayerData

    Subclass of LayerData that represents the default base rendered layer for composition layer ordering. This is an implicit layer that Unity will render to the display of the target XR device.

    The intention of this layer is to provide a default "invisible" layer to act as the 0th layer which seperates underlay layers from overlay layers.

    Inheritance
    object
    LayerData
    DefaultLayerData
    Inherited Members
    LayerData.BlendTypeDirectly
    LayerData.BlendType
    LayerData.ReportStateChange
    LayerData.UpdateValue<T>(T, T)
    LayerData.CopyFrom(LayerData)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.XR.CompositionLayers.Layers
    Assembly: Unity.XR.CompositionLayers.dll
    Syntax
    public class DefaultLayerData : LayerData

    Constructors

    DefaultLayerData()

    Declaration
    [Preserve]
    public DefaultLayerData()

    Methods

    Validate(CompositionLayer)

    Allows a layer data class to validate values from it's associated composition layer.

    Declaration
    protected override bool Validate(CompositionLayer layer)
    Parameters
    Type Name Description
    CompositionLayer layer

    Compositon layer to validate against this layer data.

    Returns
    Type Description
    bool

    True if validation passes, false if validation fails.

    Overrides
    LayerData.Validate(CompositionLayer)
    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)