Conforms to NSObject
Declared in AROverlayView.h

Overview

Animation delegate protocol provides methods that the OverlayView class

will call when it is told to focus or unfocus itself.

Tasks

Instance Methods

focusOverlayView:inParent:

Called when an overlay should bring itself to focus on the screen

- (void)focusOverlayView:(AROverlayView *)overlayView inParent:(ARAugmentedView *)parent

Parameters

overlayView
  • The overlayView to be focused
parent
  • The owner of the overlayView. This view is passed so the animation delegate can handle any sort of centering or other logic that may be needed to make the animation work.

Discussion

Called when an overlay should bring itself to focus on the screen

Declared In

AROverlayView.h

unfocusOverlayView:inParent:

Called when an overlay should unfocus itself

- (void)unfocusOverlayView:(AROverlayView *)overlayView inParent:(ARAugmentedView *)parent

Parameters

overlayView
  • The overlayView to be unfocused
parent
  • The owner of the overlayView. This view is passed so the animation delegate can handle any sort of centering or other logic that may be needed to make the animation work.

Discussion

Called when an overlay should unfocus itself

Declared In

AROverlayView.h