Class ValidationUtility<T>
A utility to validate data from certain types of Subsystems.
Inheritance
System.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 |