A Unity Library for interacting UnityARKitPlugin.
- First thing first. Drag ArKitKat folder into your assets folder.
- ArKitKat is using UnityARKitPlugin, so make sure you have it imported.
using UnityEngine.XR.iOS;
using ArKitKat;
Get ArPlaneAnchor info easier
return | method | parameters | explain |
---|---|---|---|
Vector3 | GetRealPosition | ARPlaneAnchor | Return a globle position of the plane where it really is |
Vector3 | GetPosition | ARPlaneAnchor | Return a globle position of the plane where it spawned |
Quaternion | GetRotation | ARPlaneAnchor | Return rotation of the plane |
Build-in debug tool which shows you ArPlaneAnchor in scenes
return | method | parameters | explain |
---|---|---|---|
void | VirtualAnchor | string color,ARPlaneAnchor | spawn a point in scene |
void | VirtualAnchor | string color,Vector3 | spawn a point in scene |
void | VirtualAnchor | string color,Transform | spawn a point in scene |
void | VirtualAnchor | string color,Matrix4x4 | spawn a point in scene |
The MIT License(MIT) Copyright(c) 2017 Borgmon.me