Class ValidationUtility<T> | AR Subsystems | 2.2.0-preview.6
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>
        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 © 2019 Unity Technologies
    Generated by DocFX