Files
deighton-ar/mobile/ios/ViroKit.framework/Headers/VROARImageAnchor.h
2018-03-27 17:46:15 -07:00

33 lines
657 B
C++

//
// VROARImageAnchor.h
// ViroKit
//
// Created by Andy Chu on 1/30/18.
// Copyright © 2018 Viro Media. All rights reserved.
//
#ifndef VROARImageAnchor_h
#define VROARImageAnchor_h
#include "VROARAnchor.h"
#include "VROARImageTarget.h"
class VROARImageAnchor : public VROARAnchor {
public:
VROARImageAnchor(std::shared_ptr<VROARImageTarget> imageTarget) :
_imageTarget(imageTarget) {}
virtual ~VROARImageAnchor() {}
std::shared_ptr<VROARImageTarget> getImageTarget() {
return _imageTarget;
}
private:
std::shared_ptr<VROARImageTarget> _imageTarget;
};
#endif /* VROARImageAnchor_h */