using System.Collections.Generic;
namespace UnityEngine.XR.Simulation
{
///
/// A structure for camera texture related information pertaining to a particular frame.
///
internal struct CameraTextureFrameEventArgs
{
///
/// The time, in nanoseconds, associated with this frame.
/// Use timestampNs.HasValue to determine if this data is available.
///
public long? timestampNs { get; set; }
///
/// Gets or sets the projection matrix for the AR Camera. Use
/// projectionMatrix.HasValue to determine if this data is available.
///
public Matrix4x4? projectionMatrix { get; set; }
///
/// The textures associated with this camera frame. These are generally
/// external textures, which exist only on the GPU. To use them on the
/// CPU, e.g., for computer vision processing, you will need to read
/// them back from the GPU.
///
public List textures { get; set; }
}
}