class HandTracker (Niantic.ARDK.AR.Awareness.Human.HandTracker)

Overview

class HandTracker {
public:
    // properties

    HumanTrackingData TrackingData;

    // events

    event HandTrackingStreamUpdated();

    // methods

    void AssignViewport(RenderTarget target);
    HandTracker(IARSession session);
    HandTracker(IARSession session, RenderTarget viewport);
};

Detailed Documentation

注釈

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

Properties

HumanTrackingData TrackingData

Get the most recent hand tracking data.

注釈

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

Events

event HandTrackingStreamUpdated()

Alerts subscribers when hand tracking has changed either positions of detections appear or disappear or positions are different.

注釈

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

Methods

void AssignViewport(RenderTarget target)

Assigns a new render target descriptor for the hand tracking module. The render target defines the viewport attributes to correctly fit detections.

注釈

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

HandTracker(IARSession session)

Allocates a new hand tracking module. By default, the awareness buffer will be fit to the main camera's viewport.

注釈

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

HandTracker(IARSession session, RenderTarget viewport)

Allocates a new hand tracking module.

注釈

This is an experimental feature. Experimental features should not be used in production products as they are subject to breaking changes, not officially supported, and may be deprecated without notice

Parameters:

viewport

Determines the target viewport to fit the awareness buffer to.