Class ARTrackedObject
Represents a tracked object in the physical environment.
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Syntax
public class ARTrackedObject : ARTrackable<XRTrackedObject, ARTrackedObject>
Properties
nativePtr
Get a native pointer associated with this tracked object.
Declaration
public IntPtr nativePtr { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Remarks
The data pointed to by this member is implementation defined. The lifetime of the pointed to object is also implementation defined, but should be valid at least until the next ARSession update.
referenceObject
The reference object which was used to detect this object in the environment.
Declaration
public XRReferenceObject referenceObject { get; }
Property Value
Type | Description |
---|---|
XRReferenceObject |