docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct AROcclusionSourceEventArgs

    Arguments AROcclusionSourceEventArgs that are passed along event when occlusion source was set;

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARFoundation
    Assembly: Unity.XR.ARFoundation.dll
    Syntax
    public struct AROcclusionSourceEventArgs

    Constructors

    AROcclusionSourceEventArgs(AROcclusionSources, Material)

    Constructor invoked by the ARShaderOcclusion which triggered the event.

    Declaration
    public AROcclusionSourceEventArgs(AROcclusionSources occlusionSources, Material handsMaterial)
    Parameters
    Type Name Description
    AROcclusionSources occlusionSources

    Flags to form a mask AROcclusionSources of enabled occlusion sources.

    Material handsMaterial

    A material used for hands occlusion.

    Properties

    handsMaterial

    A material which is being used on hands, when hands occlusion is enabled.

    Declaration
    public readonly Material handsMaterial { get; }
    Property Value
    Type Description
    Material

    occlusionSources

    Flags to form a mask of enabled occlusion sources

    Declaration
    public readonly AROcclusionSources occlusionSources { get; }
    Property Value
    Type Description
    AROcclusionSources
    In This Article
    Back to top
    Copyright © 2025 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)