Class ValidationUtility<T> | AR Subsystems | 3.1.10
docs.unity3d.com
    Show / Hide Table of Contents

    Class ValidationUtility<T>

    A utility to validate data from certain types of Subsystems.

    Inheritance
    Object
    ValidationUtility<T>
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public class ValidationUtility<T>
        where T : struct, ITrackable
    Type Parameters
    Name Description
    T

    The ITrackable managed by the subsystem.

    Methods

    ValidateAndDisposeIfThrown(TrackableChanges<T>)

    Declaration
    public void ValidateAndDisposeIfThrown(TrackableChanges<T> changes)
    Parameters
    Type Name Description
    TrackableChanges<T> changes

    ValidateAndThrow(TrackableChanges<T>)

    Declaration
    public void ValidateAndThrow(TrackableChanges<T> changes)
    Parameters
    Type Name Description
    TrackableChanges<T> changes

    See Also

    XRDepthSubsystem
    XRPlaneSubsystem
    XRAnchorSubsystem
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 23 January 2021