GoogleARCore.Frame.CameraImage

Container for state related to the ARCore camera for the frame.

Summary

Properties

DisplayUvCoords
Gets UVs that map the orientation and aspect ratio of Frame.CameraImage.Texture that of the device's display.
ImageIntrinsics
Gets the unrotated and uncropped intrinsics for the image (CPU) stream.
Texture
static Texture
Gets a texture used from the device's rear camera.
TextureIntrinsics
Gets the unrotated and uncropped intrinsics for the texture (GPU) stream.

Public static functions

AcquireCameraImageBytes()
Attempts to acquire the camera image for CPU access.
GetCameraProjectionMatrix(float nearClipping, float farClipping)
Matrix4x4
Gets the projection matrix for the frame.

Properties

DisplayUvCoords

static DisplayUvCoords DisplayUvCoords

Gets UVs that map the orientation and aspect ratio of Frame.CameraImage.Texture that of the device's display.

ImageIntrinsics

static CameraIntrinsics ImageIntrinsics

Gets the unrotated and uncropped intrinsics for the image (CPU) stream.

Texture

static Texture Texture

Gets a texture used from the device's rear camera.

TextureIntrinsics

static CameraIntrinsics TextureIntrinsics

Gets the unrotated and uncropped intrinsics for the texture (GPU) stream.

Public static functions

AcquireCameraImageBytes

GoogleARCore.CameraImageBytes AcquireCameraImageBytes()

Attempts to acquire the camera image for CPU access.

Details
Returns
A CameraImageBytes struct with IsAvailable property set to true if successful and false if the image could not be acquired.

GetCameraProjectionMatrix

Matrix4x4 GetCameraProjectionMatrix(
  float nearClipping,
  float farClipping
)

Gets the projection matrix for the frame.

Details
Parameters
nearClipping
The near clipping plane for the projection matrix.
farClipping
The far clipping plane for the projection matrix.
Returns
The projection matrix for the frame.

Send feedback about...