Interface ITrackable
Defines an interface for the structs associated with tracking subsystems.
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public interface ITrackable
Remarks
Subsystems that detect and track features in the environment, such as planes or images, follow a similar pattern and should use ITrackable for the structs defining their session relative data.
Properties
nativePtr
The native pointer associated with this trackable.
Declaration
IntPtr nativePtr { get; }
Property Value
| Type | Description |
|---|---|
| IntPtr |
pose
The Pose associated with this trackable.
Declaration
Pose pose { get; }
Property Value
| Type | Description |
|---|---|
| Pose |
trackableId
The TrackableId associated with this trackable.
Declaration
TrackableId trackableId { get; }
Property Value
| Type | Description |
|---|---|
| TrackableId |
trackingState
The TrackingState associated with this trackable.
Declaration
TrackingState trackingState { get; }
Property Value
| Type | Description |
|---|---|
| TrackingState |