Frame

interface Frame

Defines the properties of a single image input Frame available from Input.readFrame.

Functions

recycle
Link copied to clipboard
abstract fun recycle()
Allows to recycle the instance of this frame for a new frame.

Properties

horizontalFieldOfView
Link copied to clipboard
abstract val horizontalFieldOfView: Float
The horizontal field of view in degrees of this image frame.
timestamp
Link copied to clipboard
abstract val timestamp: Long
Monotonically increasing timestamp of this frame in nanoseconds.
transformationMatrix
Link copied to clipboard
abstract val transformationMatrix: FloatArray
The 4x4 texture coordinate transform matrix of this image frame.
verticalFieldOfView
Link copied to clipboard
abstract val verticalFieldOfView: Float
The vertical field of view in degrees of this image frame.