Class ARTrackable<TSessionRelativeData, TTrackable>
A generic component for trackables. A "trackable" is a feature in the physical environment that can be detected and tracked by an XR device.
Inheritance
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: solution.dll
Syntax
public class ARTrackable<TSessionRelativeData, TTrackable> : ARTrackable where TSessionRelativeData : struct, ITrackable where TTrackable : ARTrackable<TSessionRelativeData, TTrackable>
Type Parameters
Name | Description |
---|---|
TSessionRelativeData | The raw, session-relative data type used to update this trackable. |
TTrackable | The concrete class which derives from ARTrackable<TSession |
Properties
Name | Description |
---|---|
destroy |
If true, this component's |
pending | Pending means the trackable was added manually (usually via an |
session |
The session-relative data associated with this trackable. |
trackable |
The |
tracking |
The tracking state associated with this trackable. |
Methods
Name | Description |
---|---|
On |
Invoked just after the session-relative data has been set.
The |