Class ValidationUtility<T>
A utility to validate data from certain types of Subsystem
s.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public class ValidationUtility<T> where T : struct, ITrackable
Type Parameters
Name | Description |
---|---|
T | The ITrackable managed by the subsystem. |
Methods
Name | Description |
---|---|
ValidateAndDisposeIfThrown(TrackableChanges<T>) | Same as ValidateAndThrow(TrackableChanges<T>) but also disposes the |
ValidateAndThrow(TrackableChanges<T>) | Performs validation checks that ensure a trackable does not exist in multiple lists simultaneously (for example, both added and removed). Also ensures that a trackable cannot be removed before being added. |