class ARVideoFeed (Niantic.ARDK.Helpers.ARVideoFeed)

Overview

AR background video feed. It is designed to set up continuous rendering to an offscreen texture. More…

class ARVideoFeed: IDisposable {
public:
    // properties

    RenderTexture GPUTexture;
    IARFrameRenderer Renderer;

    // events

    event FeedUpdated();

    // methods

    ARVideoFeed(
        IARSession session,
        Resolution resolution,
        float near = 0.1f,
        float far = 100.0f,
        bool canRotate = true,
        bool autoDispose = true
    );

    void Dispose();
};

Detailed Documentation

AR background video feed. It is designed to set up continuous rendering to an offscreen texture.

Properties

RenderTexture GPUTexture

The rendered AR background texture.

IARFrameRenderer Renderer

The renderer component used by this feed.

Events

event FeedUpdated()

Event for when the target texture had been updated.