Table of Contents

Class CaptureSessionObject<T>

Simple class for grouping capture session related components to their GameObject.

public class CaptureSessionObject<T> where T : ContinuousCaptureSession

Type Parameters

T
Inheritance
object
CaptureSessionObject<T>

Fields

CameraFrameForwarder

The camera frame forwarder.

public readonly CameraFrameForwarder CameraFrameForwarder

Field Value

CameraFrameForwarder

Remarks

You can add additional YUVToRGBAConverters to this to have multiple streams of the same capture session.

CaptureSession

The capture session wrapper.

public readonly T CaptureSession

Field Value

T

GameObject

The GameObject containing the CaptureSession and TextureConverter components.

public readonly GameObject GameObject

Field Value

GameObject

TextureConverter

The YUV to RGBA texture converter.

public readonly YUVToRGBAConverter TextureConverter

Field Value

YUVToRGBAConverter

Methods

Destroy()

Destroys the GameObject to release all native resources.

public void Destroy()