docs.unity.cn
    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> : object 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
    XRReferencePointSubsystem
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, January 7, 2022
    Terms of use