Struct XRTrackedImage
Contains low-level data for a tracked image in the environment.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public struct XRTrackedImage : ITrackable, IEquatable<XRTrackedImage>
Constructors
Name | Description |
---|---|
XRTrackedImage(TrackableId, Guid, Pose, Vector2, TrackingState, IntPtr) | Constructs an XRTrackedImage. |
Properties
Name | Description |
---|---|
defaultValue | Generates a XRTrackedImage populated with default values. |
nativePtr | A native pointer associated with this tracked image. The data pointed to by this pointer is implementation-defined. While its lifetime is also implementation-defined, it should be valid at least until the next call to GetChanges(Allocator). |
pose | The |
size | The size (dimensions) of this tracked image. |
sourceImageId | The |
trackableId | The TrackableId associated with this tracked image. |
trackingState | The TrackingState associated with this tracked image. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(XRTrackedImage) | Tests for equality. |
GetHashCode() | Generates a hash suitable for use with containers like |
Operators
Name | Description |
---|---|
operator ==(XRTrackedImage, XRTrackedImage) | Tests for equality. Same as Equals(XRTrackedImage). |
operator !=(XRTrackedImage, XRTrackedImage) | Tests for inequality. Same as |