GARFrame Class

GARFrame Class Reference

Overview

ARCore frame class.

Each GARFrame corresponds to an ARFrame that was passed into a GARSession with a call to update:error:. GARFrame's are immutable, since new ARFrame's can be generated by ARKit at any time.

Inherits NSObject.

Instance Method Summary

(instancetype) - NS_UNAVAILABLE
 

Class Method Summary

(instancetype) + NS_UNAVAILABLE
 

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...
 
NSTimeInterval timestamp
 The frame timestamp. More...
 

Property Detail

- (NSArray<GARAnchor *>*) anchors
readnonatomiccopy

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.

- (NSTimeInterval) timestamp
readnonatomicassign

The frame timestamp.

This is equal to the timestamp on the corresponding ARFrame, and represents time since boot in seconds.

Send feedback about...