Contents

addTrackingArea(identifier:)

Returns a tracking area which is create on the drawable’s list of tracking areas.

Declaration

func addTrackingArea(identifier: LayerRenderer.Drawable.TrackingArea.Identifier) -> LayerRenderer.Drawable.TrackingArea

Parameters

  • identifier:

    The unique identifier for the tracking area.

Return Value

A tracking area that was created.

Discussion

A tracking area describes a region of a view that interacts with the gaze/cursor. Cannot use cp_tracking_area_identifier_invalid as an identifier.