Overview
ARCore frame class.
Each GARFrame corresponds to an ARFrame
that was passed into a GARSession with a call to update:error: (GARSession). GARFrames are immutable, since new ARFrame
s can be generated by ARKit at any time. For Augmented Faces, see GARAugmentedFaceFrame.
Inherits NSObject.
Property Summary | |
NSArray< GARAnchor * > * | anchors |
All anchors in the GARSession at the timestamp of this frame, plus any anchors removed by the GARSession since the last frame was generated. More... | |
NSArray< GARAnchor * > * | updatedAnchors |
The subset of the anchors array consisting of those anchors that have changed since the last frame was generated. More... | |
NSTimeInterval | timestamp |
The frame timestamp. More... | |
GAREarth * | earth |
Snapshot of the GAREarth state for this frame. More... | |
Property Detail
|
readnonatomicassign |
All anchors in the GARSession at the timestamp of this frame, plus any anchors removed by the GARSession since the last frame was generated.
Each anchor in this array is an immutable snapshot of an underlying anchor, which can be uniquely identified by the anchor's identifier property.
|
readnonatomicassign |
The subset of the anchors array consisting of those anchors that have changed since the last frame was generated.
This should only be used if the immediately previous frame was processed.
|
readnonatomicassign |
The frame timestamp.
This is equal to the timestamp on the corresponding ARFrame
, and represents time since boot in seconds.
|
readnonatomicassign |
Snapshot of the GAREarth
state for this frame.
This will be nil if GARSessionConfiguration.geospatialMode
is disabled.
Provided by category GARFrame(Geospatial).