├── .gitignore ├── Assets ├── UnityARKitPlugin.meta └── UnityARKitPlugin │ ├── ARKitRemote.meta │ ├── ARKitRemote │ ├── ARKITREMOTE.txt │ ├── ARKITREMOTE.txt.meta │ ├── ARKitFaceTrackingRemoteConnection.cs │ ├── ARKitFaceTrackingRemoteConnection.cs.meta │ ├── ARKitRemoteConnection.cs │ ├── ARKitRemoteConnection.cs.meta │ ├── ARKitRemoteConnection.prefab │ ├── ARKitRemoteConnection.prefab.meta │ ├── CompressionHelper.cs │ ├── CompressionHelper.cs.meta │ ├── ConnectToEditor.cs │ ├── ConnectToEditor.cs.meta │ ├── ConnectionMessageIds.cs │ ├── ConnectionMessageIds.cs.meta │ ├── EditorARFaceAnchor.cs │ ├── EditorARFaceAnchor.cs.meta │ ├── EditorARPlaneAnchor.cs │ ├── EditorARPlaneAnchor.cs.meta │ ├── EditorHitTest.cs │ ├── EditorHitTest.cs.meta │ ├── EditorTestScene.unity │ ├── EditorTestScene.unity.meta │ ├── ObjectSerializationExtension.cs │ ├── ObjectSerializationExtension.cs.meta │ ├── SerializableObjects.cs │ ├── SerializableObjects.cs.meta │ ├── UnityARKitRemote.unity │ ├── UnityARKitRemote.unity.meta │ ├── UnityRemoteVideo.cs │ └── UnityRemoteVideo.cs.meta │ ├── Examples.meta │ ├── Examples │ ├── ARKit1.5.meta │ ├── ARKit1.5 │ │ ├── UnityARImageAnchor.meta │ │ ├── UnityARImageAnchor │ │ │ ├── ARImagesSet_UnityLogo.asset │ │ │ ├── ARImagesSet_UnityLogo.asset.meta │ │ │ ├── GenerateImageAnchor.cs │ │ │ ├── GenerateImageAnchor.cs.meta │ │ │ ├── ReferenceImages.meta │ │ │ ├── ReferenceImages │ │ │ │ ├── unitylogoblackonwhite.jpg │ │ │ │ ├── unitylogoblackonwhite.jpg.meta │ │ │ │ ├── unitylogoblackonwhite.png │ │ │ │ ├── unitylogoblackonwhite.png.meta │ │ │ │ ├── unitylogowhiteonblack.jpg │ │ │ │ ├── unitylogowhiteonblack.jpg.meta │ │ │ │ ├── unitylogowhiteonblack.png │ │ │ │ └── unitylogowhiteonblack.png.meta │ │ │ ├── UnityARImageAnchor.unity │ │ │ ├── UnityARImageAnchor.unity.meta │ │ │ ├── UnityLogoReferenceImage.asset │ │ │ ├── UnityLogoReferenceImage.asset.meta │ │ │ ├── UnityLogoWhiteOnBlack.asset │ │ │ └── UnityLogoWhiteOnBlack.asset.meta │ │ ├── UnityARKitRelocalize.meta │ │ ├── UnityARKitRelocalize │ │ │ ├── RelocalizationControl.cs │ │ │ ├── RelocalizationControl.cs.meta │ │ │ ├── UnityARKitRelocalize.unity │ │ │ └── UnityARKitRelocalize.unity.meta │ │ ├── UnityARPlaneMesh.meta │ │ ├── UnityARPlaneMesh │ │ │ ├── ARKitPlaneMeshRender.cs │ │ │ ├── ARKitPlaneMeshRender.cs.meta │ │ │ ├── UnityARPlaneMesh.unity │ │ │ └── UnityARPlaneMesh.unity.meta │ │ ├── UnityARPointCloudIds.meta │ │ ├── UnityARPointCloudIds │ │ │ ├── PointCloudIdsExample.cs │ │ │ ├── PointCloudIdsExample.cs.meta │ │ │ ├── UnityPointCloudIds.unity │ │ │ └── UnityPointCloudIds.unity.meta │ │ ├── UnityARSetWorldOrigin.meta │ │ ├── UnityARSetWorldOrigin │ │ │ ├── SetWorldOriginControl.cs │ │ │ ├── SetWorldOriginControl.cs.meta │ │ │ ├── UnityARSetWorldOrigin.unity │ │ │ └── UnityARSetWorldOrigin.unity.meta │ │ ├── UnityARVideoFormats.meta │ │ └── UnityARVideoFormats │ │ │ ├── FaceTrackingVideoFormatsExample.cs │ │ │ ├── FaceTrackingVideoFormatsExample.cs.meta │ │ │ ├── UnityARFaceTrackingVideoFormats.unity │ │ │ ├── UnityARFaceTrackingVideoFormats.unity.meta │ │ │ ├── UnityARVideoFormats.unity │ │ │ ├── UnityARVideoFormats.unity.meta │ │ │ ├── VideoFormatButton.cs │ │ │ ├── VideoFormatButton.cs.meta │ │ │ ├── VideoFormatsExample.cs │ │ │ └── VideoFormatsExample.cs.meta │ ├── ARKit2.0.meta │ ├── ARKit2.0 │ │ ├── UnityAREnvironmentTexture.meta │ │ ├── UnityAREnvironmentTexture │ │ │ ├── GenerateEnvironmentProbeAnchors.cs │ │ │ ├── GenerateEnvironmentProbeAnchors.cs.meta │ │ │ ├── HitCreateEnvironmentProbe.cs │ │ │ ├── HitCreateEnvironmentProbe.cs.meta │ │ │ ├── ReflectionProbeGameObject.cs │ │ │ ├── ReflectionProbeGameObject.cs.meta │ │ │ ├── UnityAREnvironmentProbeAnchor.unity │ │ │ ├── UnityAREnvironmentProbeAnchor.unity.meta │ │ │ ├── UnityAREnvironmentProbeAnchorManual.unity │ │ │ └── UnityAREnvironmentProbeAnchorManual.unity.meta │ │ ├── UnityARObjectAnchor.meta │ │ ├── UnityARObjectAnchor │ │ │ ├── CokeCanObject.asset │ │ │ ├── CokeCanObject.asset.meta │ │ │ ├── ExampleObjectsSet.asset │ │ │ ├── ExampleObjectsSet.asset.meta │ │ │ ├── GenerateObjectAnchor.cs │ │ │ ├── GenerateObjectAnchor.cs.meta │ │ │ ├── ReferenceObjects.meta │ │ │ ├── ReferenceObjects │ │ │ │ ├── cokeCan.arobject │ │ │ │ ├── cokeCan.arobject.meta │ │ │ │ ├── cokeCan.png │ │ │ │ └── cokeCan.png.meta │ │ │ ├── UnityARObjectAnchor.unity │ │ │ └── UnityARObjectAnchor.unity.meta │ │ ├── UnityARWorldMap.meta │ │ ├── UnityARWorldMap │ │ │ ├── UnityARWorldMap.unity │ │ │ ├── UnityARWorldMap.unity.meta │ │ │ ├── UnityARWorldMapSerialized.unity │ │ │ ├── UnityARWorldMapSerialized.unity.meta │ │ │ ├── UpdateWorldMappingStatus.cs │ │ │ ├── UpdateWorldMappingStatus.cs.meta │ │ │ ├── WorldMapManager.cs │ │ │ └── WorldMapManager.cs.meta │ │ ├── UnityObjectScanner.meta │ │ ├── UnityObjectScanner │ │ │ ├── DetectedObjectManager.cs │ │ │ ├── DetectedObjectManager.cs.meta │ │ │ ├── ObjectScanManager.cs │ │ │ ├── ObjectScanManager.cs.meta │ │ │ ├── ObjectScanSessionManager.cs │ │ │ ├── ObjectScanSessionManager.cs.meta │ │ │ ├── ObjectText.cs │ │ │ ├── ObjectText.cs.meta │ │ │ ├── PickBoundingBox.cs │ │ │ ├── PickBoundingBox.cs.meta │ │ │ ├── PrintBounds.cs │ │ │ ├── PrintBounds.cs.meta │ │ │ ├── UnityObjectScanner.unity │ │ │ └── UnityObjectScanner.unity.meta │ │ ├── UnityTongueAndEyes.meta │ │ └── UnityTongueAndEyes │ │ │ ├── TongueDetector.cs │ │ │ ├── TongueDetector.cs.meta │ │ │ ├── UnityEyeManager.cs │ │ │ ├── UnityEyeManager.cs.meta │ │ │ ├── UnityTongueAndEyes.unity │ │ │ └── UnityTongueAndEyes.unity.meta │ ├── AddRemoveAnchorExample.meta │ ├── AddRemoveAnchorExample │ │ ├── AddRemoveAnchorScene.unity │ │ ├── AddRemoveAnchorScene.unity.meta │ │ ├── RandomCube.prefab │ │ ├── RandomCube.prefab.meta │ │ ├── UnityARUserAnchorExample.cs │ │ └── UnityARUserAnchorExample.cs.meta │ ├── Common.meta │ ├── Common │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── 2000px-Checkerboard_pattern.svg.mat │ │ │ ├── 2000px-Checkerboard_pattern.svg.mat.meta │ │ │ ├── 2000px-Checkerboard_patternUV.svg.mat │ │ │ ├── 2000px-Checkerboard_patternUV.svg.mat.meta │ │ │ ├── ARKitPlaneMesh.mat │ │ │ ├── ARKitPlaneMesh.mat.meta │ │ │ ├── BallMaterial.mat │ │ │ ├── BallMaterial.mat.meta │ │ │ ├── BoundingBox_Selected.mat │ │ │ ├── BoundingBox_Selected.mat.meta │ │ │ ├── BoundingBox_Unselected.mat │ │ │ ├── BoundingBox_Unselected.mat.meta │ │ │ ├── EnvironmentMapMaterial.mat │ │ │ ├── EnvironmentMapMaterial.mat.meta │ │ │ ├── MeshBorder.mat │ │ │ ├── MeshBorder.mat.meta │ │ │ ├── Plane Physic Material.physicMaterial │ │ │ ├── Plane Physic Material.physicMaterial.meta │ │ │ ├── PlayerMaterial.mat │ │ │ ├── PlayerMaterial.mat.meta │ │ │ ├── PointCloudMaterial.mat │ │ │ ├── PointCloudMaterial.mat.meta │ │ │ ├── PointCloudParticleMaterial.mat │ │ │ ├── PointCloudParticleMaterial.mat.meta │ │ │ ├── RTBack.renderTexture │ │ │ ├── RTBack.renderTexture.meta │ │ │ ├── RTBottom.renderTexture │ │ │ ├── RTBottom.renderTexture.meta │ │ │ ├── RTFront.renderTexture │ │ │ ├── RTFront.renderTexture.meta │ │ │ ├── RTLeft.renderTexture │ │ │ ├── RTLeft.renderTexture.meta │ │ │ ├── RTRight.renderTexture │ │ │ ├── RTRight.renderTexture.meta │ │ │ ├── RTTop.renderTexture │ │ │ ├── RTTop.renderTexture.meta │ │ │ ├── SphereMaterial.mat │ │ │ ├── SphereMaterial.mat.meta │ │ │ ├── XColor.mat │ │ │ ├── XColor.mat.meta │ │ │ ├── YColor.mat │ │ │ ├── YColor.mat.meta │ │ │ ├── ZColor.mat │ │ │ ├── ZColor.mat.meta │ │ │ ├── debugPlaneMaterial.mat │ │ │ ├── debugPlaneMaterial.mat.meta │ │ │ ├── occlusionPlaneMaterial.mat │ │ │ ├── occlusionPlaneMaterial.mat.meta │ │ │ ├── shadowPlaneMaterial.mat │ │ │ └── shadowPlaneMaterial.mat.meta │ │ ├── Models.meta │ │ ├── Models │ │ │ ├── Characters.meta │ │ │ └── Characters │ │ │ │ ├── Materials.meta │ │ │ │ ├── Materials │ │ │ │ ├── GunMaterial.mat │ │ │ │ └── GunMaterial.mat.meta │ │ │ │ ├── Player.fbx │ │ │ │ └── Player.fbx.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── ARKitPlaneGeometry.prefab │ │ │ ├── ARKitPlaneGeometry.prefab.meta │ │ │ ├── AxesPrefab.prefab │ │ │ ├── AxesPrefab.prefab.meta │ │ │ ├── AxesPrefabSmall.prefab │ │ │ ├── AxesPrefabSmall.prefab.meta │ │ │ ├── BallPrefab.prefab │ │ │ ├── BallPrefab.prefab.meta │ │ │ ├── Box Face.prefab │ │ │ ├── Box Face.prefab.meta │ │ │ ├── CollSphere.prefab │ │ │ ├── CollSphere.prefab.meta │ │ │ ├── DebugReflectionProbePrefab.prefab │ │ │ ├── DebugReflectionProbePrefab.prefab.meta │ │ │ ├── ObjectText.prefab │ │ │ ├── ObjectText.prefab.meta │ │ │ ├── ParticlePainterPrefab.prefab │ │ │ ├── ParticlePainterPrefab.prefab.meta │ │ │ ├── ParticlePrefab.prefab │ │ │ ├── ParticlePrefab.prefab.meta │ │ │ ├── PointCloudPrefab.prefab │ │ │ ├── PointCloudPrefab.prefab.meta │ │ │ ├── SmallCylinder.prefab │ │ │ ├── SmallCylinder.prefab.meta │ │ │ ├── VideoFormatButton.prefab │ │ │ ├── VideoFormatButton.prefab.meta │ │ │ ├── collisionPlanePrefab.prefab │ │ │ ├── collisionPlanePrefab.prefab.meta │ │ │ ├── cube.prefab │ │ │ ├── cube.prefab.meta │ │ │ ├── debugPlanePrefab.prefab │ │ │ ├── debugPlanePrefab.prefab.meta │ │ │ ├── occlusionPlanePrefab.prefab │ │ │ ├── occlusionPlanePrefab.prefab.meta │ │ │ ├── shadowPlanePrefab.prefab │ │ │ └── shadowPlanePrefab.prefab.meta │ │ ├── Shaders.meta │ │ ├── Shaders │ │ │ ├── InstancedSurfaceShader.shader │ │ │ ├── InstancedSurfaceShader.shader.meta │ │ │ ├── MobileARShadow.shader │ │ │ ├── MobileARShadow.shader.meta │ │ │ ├── MobileOcclusion.shader │ │ │ └── MobileOcclusion.shader.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── PlayerDiffuse.png │ │ │ ├── PlayerDiffuse.png.meta │ │ │ ├── PlayerNormals.png │ │ │ ├── PlayerNormals.png.meta │ │ │ ├── PlayerOcclusion.png │ │ │ ├── PlayerOcclusion.png.meta │ │ │ ├── PlayerSpecular.tif │ │ │ ├── PlayerSpecular.tif.meta │ │ │ ├── checker_large UV.gif │ │ │ ├── checker_large UV.gif.meta │ │ │ ├── debugPlaneTile.png │ │ │ ├── debugPlaneTile.png.meta │ │ │ ├── unitylogo.png │ │ │ └── unitylogo.png.meta │ ├── FaceTracking.meta │ ├── FaceTracking │ │ ├── ARCameraTracker.cs │ │ ├── ARCameraTracker.cs.meta │ │ ├── BlendshapeDriver.cs │ │ ├── BlendshapeDriver.cs.meta │ │ ├── BlendshapePrinter.cs │ │ ├── BlendshapePrinter.cs.meta │ │ ├── FaceAnchorScene.unity │ │ ├── FaceAnchorScene.unity.meta │ │ ├── FaceBlendshapeScene.unity │ │ ├── FaceBlendshapeScene.unity.meta │ │ ├── FaceBlendshapeSloth.unity │ │ ├── FaceBlendshapeSloth.unity.meta │ │ ├── FaceDirectionalLightEstimate.unity │ │ ├── FaceDirectionalLightEstimate.unity.meta │ │ ├── FaceMeshScene.unity │ │ ├── FaceMeshScene.unity.meta │ │ ├── SlothCharacter.meta │ │ ├── SlothCharacter │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── sloth_all_1001_AlbedoTransparency.mat │ │ │ │ └── sloth_all_1001_AlbedoTransparency.mat.meta │ │ │ ├── Textures.meta │ │ │ ├── Textures │ │ │ │ ├── sloth_all_1001_AlbedoTransparency.png │ │ │ │ ├── sloth_all_1001_AlbedoTransparency.png.meta │ │ │ │ ├── sloth_all_1001_MetallicSmoothness.png │ │ │ │ ├── sloth_all_1001_MetallicSmoothness.png.meta │ │ │ │ ├── sloth_all_1001_Normal.png │ │ │ │ └── sloth_all_1001_Normal.png.meta │ │ │ ├── sloth_head_blendshapes5.fbx │ │ │ └── sloth_head_blendshapes5.fbx.meta │ │ ├── UnityARFaceAnchorManager.cs │ │ ├── UnityARFaceAnchorManager.cs.meta │ │ ├── UnityARFaceMeshManager.cs │ │ └── UnityARFaceMeshManager.cs.meta │ ├── FocusSquare.meta │ ├── FocusSquare │ │ ├── FocusSquare.cs │ │ ├── FocusSquare.cs.meta │ │ ├── FocusSquareFinding.controller │ │ ├── FocusSquareFinding.controller.meta │ │ ├── FocusSquareFinding.mat │ │ ├── FocusSquareFinding.mat.meta │ │ ├── FocusSquareFinding.prefab │ │ ├── FocusSquareFinding.prefab.meta │ │ ├── FocusSquareFocused.prefab │ │ ├── FocusSquareFocused.prefab.meta │ │ ├── FocusSquareFound.mat │ │ ├── FocusSquareFound.mat.meta │ │ ├── FocusSquareScene.unity │ │ ├── FocusSquareScene.unity.meta │ │ ├── focuspulse.anim │ │ ├── focuspulse.anim.meta │ │ ├── focussquare.png │ │ ├── focussquare.png.meta │ │ ├── focussquarefound.png │ │ └── focussquarefound.png.meta │ ├── UnityARBallz.meta │ ├── UnityARBallz │ │ ├── BallMaker.cs │ │ ├── BallMaker.cs.meta │ │ ├── BallMover.cs │ │ ├── BallMover.cs.meta │ │ ├── Ballz.cs │ │ ├── Ballz.cs.meta │ │ ├── ModeSwitcher.cs │ │ ├── ModeSwitcher.cs.meta │ │ ├── UnityARBallz.unity │ │ └── UnityARBallz.unity.meta │ ├── UnityARKitScene.meta │ ├── UnityARKitScene │ │ ├── UnityARKitScene.unity │ │ └── UnityARKitScene.unity.meta │ ├── UnityAROcclusion.meta │ ├── UnityAROcclusion │ │ ├── UnityAROcclusion.unity │ │ └── UnityAROcclusion.unity.meta │ ├── UnityARShadows.meta │ ├── UnityARShadows │ │ ├── UnityARShadows.unity │ │ └── UnityARShadows.unity.meta │ ├── UnityParticlePainter.meta │ └── UnityParticlePainter │ │ ├── HSVPicker.meta │ │ ├── HSVPicker │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── BoxSliderEditor.cs │ │ │ └── BoxSliderEditor.cs.meta │ │ ├── Enums.meta │ │ ├── Enums │ │ │ ├── ColorValues.cs │ │ │ └── ColorValues.cs.meta │ │ ├── Events.meta │ │ ├── Events │ │ │ ├── ColorChangedEvent.cs │ │ │ ├── ColorChangedEvent.cs.meta │ │ │ ├── HSVChangedEvent.cs │ │ │ └── HSVChangedEvent.cs.meta │ │ ├── Other.meta │ │ ├── Other │ │ │ ├── ColorPickerTester.cs │ │ │ ├── ColorPickerTester.cs.meta │ │ │ ├── TiltWindow.cs │ │ │ └── TiltWindow.cs.meta │ │ ├── Picker 2.0.prefab │ │ ├── Picker 2.0.prefab.meta │ │ ├── PickerTest.unity │ │ ├── PickerTest.unity.meta │ │ ├── UI.meta │ │ ├── UI │ │ │ ├── ColorImage.cs │ │ │ ├── ColorImage.cs.meta │ │ │ ├── ColorLabel.cs │ │ │ ├── ColorLabel.cs.meta │ │ │ ├── ColorPicker.cs │ │ │ ├── ColorPicker.cs.meta │ │ │ ├── ColorPresets.cs │ │ │ ├── ColorPresets.cs.meta │ │ │ ├── ColorSlider.cs │ │ │ ├── ColorSlider.cs.meta │ │ │ ├── ColorSliderImage.cs │ │ │ ├── ColorSliderImage.cs.meta │ │ │ ├── HexColorField.cs │ │ │ ├── HexColorField.cs.meta │ │ │ ├── SVBoxSlider.cs │ │ │ └── SVBoxSlider.cs.meta │ │ ├── UtilityScripts.meta │ │ └── UtilityScripts │ │ │ ├── BoxSlider.cs │ │ │ ├── BoxSlider.cs.meta │ │ │ ├── HSVUtil.cs │ │ │ └── HSVUtil.cs.meta │ │ ├── ParticlePainter.cs │ │ ├── ParticlePainter.cs.meta │ │ ├── UnityParticlePainter.unity │ │ └── UnityParticlePainter.unity.meta │ ├── Plugins.meta │ ├── Plugins │ ├── iOS.meta │ └── iOS │ │ ├── UnityARKit.meta │ │ └── UnityARKit │ │ ├── ARReferenceImage.cs │ │ ├── ARReferenceImage.cs.meta │ │ ├── ARReferenceImagesSet.cs │ │ ├── ARReferenceImagesSet.cs.meta │ │ ├── ARReferenceObjectAsset.cs │ │ ├── ARReferenceObjectAsset.cs.meta │ │ ├── ARReferenceObjectsSetAsset.cs │ │ ├── ARReferenceObjectsSetAsset.cs.meta │ │ ├── ARResourcesJSON.cs │ │ ├── ARResourcesJSON.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ ├── ARResourcesJSON.cs │ │ ├── ARResourcesJSON.cs.meta │ │ ├── UnityARBuildPostprocessor.cs │ │ └── UnityARBuildPostprocessor.cs.meta │ │ ├── Helpers.meta │ │ ├── Helpers │ │ ├── AR3DOFCameraManager.cs │ │ ├── AR3DOFCameraManager.cs.meta │ │ ├── ARKitPlaneMeshRender.cs │ │ ├── ARKitPlaneMeshRender.cs.meta │ │ ├── ARPlaneAnchorGameObject.cs │ │ ├── ARPlaneAnchorGameObject.cs.meta │ │ ├── DontDestroyOnLoad.cs │ │ ├── DontDestroyOnLoad.cs.meta │ │ ├── LinkedListDictionary.cs │ │ ├── LinkedListDictionary.cs.meta │ │ ├── PointCloudParticleExample.cs │ │ ├── PointCloudParticleExample.cs.meta │ │ ├── UnityARAmbient.cs │ │ ├── UnityARAmbient.cs.meta │ │ ├── UnityARAnchorManager.cs │ │ ├── UnityARAnchorManager.cs.meta │ │ ├── UnityARCameraManager.cs │ │ ├── UnityARCameraManager.cs.meta │ │ ├── UnityARCameraNearFar.cs │ │ ├── UnityARCameraNearFar.cs.meta │ │ ├── UnityARGeneratePlane.cs │ │ ├── UnityARGeneratePlane.cs.meta │ │ ├── UnityARHitTestExample.cs │ │ ├── UnityARHitTestExample.cs.meta │ │ ├── UnityARKitControl.cs │ │ ├── UnityARKitControl.cs.meta │ │ ├── UnityARKitLightManager.cs │ │ ├── UnityARKitLightManager.cs.meta │ │ ├── UnityARMatrixOps.cs │ │ ├── UnityARMatrixOps.cs.meta │ │ ├── UnityARUserAnchorComponent.cs │ │ ├── UnityARUserAnchorComponent.cs.meta │ │ ├── UnityARUtility.cs │ │ ├── UnityARUtility.cs.meta │ │ ├── UnityARVideo.cs │ │ ├── UnityARVideo.cs.meta │ │ ├── UnityPointCloudExample.cs │ │ └── UnityPointCloudExample.cs.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ ├── YUVMaterial.mat │ │ ├── YUVMaterial.mat.meta │ │ ├── YUVMaterialLinear.mat │ │ └── YUVMaterialLinear.mat.meta │ │ ├── NativeInterface.meta │ │ ├── NativeInterface │ │ ├── ARAnchor.cs │ │ ├── ARAnchor.cs.meta │ │ ├── ARCamera.cs │ │ ├── ARCamera.cs.meta │ │ ├── AREnvironmentProbe.mm │ │ ├── AREnvironmentProbe.mm.meta │ │ ├── AREnvironmentProbeAnchor.cs │ │ ├── AREnvironmentProbeAnchor.cs.meta │ │ ├── ARErrorCode.cs │ │ ├── ARErrorCode.cs.meta │ │ ├── ARFaceAnchor.cs │ │ ├── ARFaceAnchor.cs.meta │ │ ├── ARFrame.cs │ │ ├── ARFrame.cs.meta │ │ ├── ARHitTestResult.cs │ │ ├── ARHitTestResult.cs.meta │ │ ├── ARHitTestResultType.cs │ │ ├── ARHitTestResultType.cs.meta │ │ ├── ARImageAnchor.cs │ │ ├── ARImageAnchor.cs.meta │ │ ├── ARKitDefines.h │ │ ├── ARKitDefines.h.meta │ │ ├── ARKitNativeObjectDetection.mm │ │ ├── ARKitNativeObjectDetection.mm.meta │ │ ├── ARLightEstimate.cs │ │ ├── ARLightEstimate.cs.meta │ │ ├── ARObjectAnchor.cs │ │ ├── ARObjectAnchor.cs.meta │ │ ├── ARPlaneAnchor.cs │ │ ├── ARPlaneAnchor.cs.meta │ │ ├── ARPlaneAnchorAlignment.cs │ │ ├── ARPlaneAnchorAlignment.cs.meta │ │ ├── ARPoint.cs │ │ ├── ARPoint.cs.meta │ │ ├── ARPointCloud.cs │ │ ├── ARPointCloud.cs.meta │ │ ├── ARPointCloud.mm │ │ ├── ARPointCloud.mm.meta │ │ ├── ARRect.cs │ │ ├── ARRect.cs.meta │ │ ├── ARReferenceObject.cs │ │ ├── ARReferenceObject.cs.meta │ │ ├── ARSessionNative.mm │ │ ├── ARSessionNative.mm.meta │ │ ├── ARSize.cs │ │ ├── ARSize.cs.meta │ │ ├── ARTextureHandles.cs │ │ ├── ARTextureHandles.cs.meta │ │ ├── ARTrackingQuality.cs │ │ ├── ARTrackingQuality.cs.meta │ │ ├── ARTrackingState.cs │ │ ├── ARTrackingState.cs.meta │ │ ├── ARTrackingStateReason.cs │ │ ├── ARTrackingStateReason.cs.meta │ │ ├── ARUserAnchor.cs │ │ ├── ARUserAnchor.cs.meta │ │ ├── ARVideoFormat.cs │ │ ├── ARVideoFormat.cs.meta │ │ ├── ARWorldMap.cs │ │ ├── ARWorldMap.cs.meta │ │ ├── ARWorldMap.mm │ │ ├── ARWorldMap.mm.meta │ │ ├── UnityARSessionNativeInterface.cs │ │ └── UnityARSessionNativeInterface.cs.meta │ │ ├── Shaders.meta │ │ └── Shaders │ │ ├── YUVShader.shader │ │ ├── YUVShader.shader.meta │ │ ├── YUVShaderLinear.shader │ │ └── YUVShaderLinear.shader.meta │ ├── Resources.meta │ ├── Resources │ ├── UnityARKitPlugin.meta │ └── UnityARKitPlugin │ │ ├── ARKitSettings.asset │ │ └── ARKitSettings.asset.meta │ ├── UnityARKitPluginSettings.cs │ └── UnityARKitPluginSettings.cs.meta ├── LICENSE ├── LICENSES ├── MIT_LICENSE └── UCL_LICENSE ├── README.md ├── SCENES.txt ├── TUTORIAL.txt ├── UnityPackageManager └── manifest.json └── docs ├── WhatsNewInARKit2_0.md └── images ├── ARReferenceObjectAsset_creation.png ├── ARReferenceObject_FileShare.png ├── ARReferenceObject_Inspector.png ├── ARReferenceObjectsSetAsset_Inpsector.png └── UnityTongueAndEyes.gif /.gitignore: -------------------------------------------------------------------------------- 1 | /Assets/UnityVS 2 | /Assets/UnityVS.meta 3 | /Library 4 | /Temp 5 | /obj 6 | /Assets/AssetBundles/cache.txt 7 | /Assets/AssetBundles/cache.txt.meta 8 | /Assets/StreamingAssets/AssetBundles 9 | /Assets/StreamingAssets/AssetBundles.meta 10 | /ProjectSettings/ProjectVersion.txt 11 | /ProjectSettings/UnityAdsSettings.asset 12 | /ProjectSettings/NavMeshAreas.asset 13 | /ProjectSettings/UnityAnalyticsManager.asset 14 | 15 | .vs 16 | 17 | *.userprefs 18 | *.unityproj 19 | *.csproj 20 | *.sln 21 | *.suo -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df38125cf15df453a98ce2d798a5e954 3 | folderAsset: yes 4 | timeCreated: 1501101795 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d1259656ef6245079ba6548af0ab42e 3 | folderAsset: yes 4 | timeCreated: 1498669549 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e70a61590ae124a8194c71c31e1af531 3 | timeCreated: 1500609185 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitFaceTrackingRemoteConnection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdd3e34e30492409ea4e7aa626b21aa0 3 | timeCreated: 1513104962 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 004464ca939eb4ec1a1b492fb8ebfd12 3 | timeCreated: 1500571041 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_ParentPrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1214069642587422} 13 | m_IsPrefabParent: 1 14 | --- !u!1 &1214069642587422 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_PrefabParentObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 5 20 | m_Component: 21 | - component: {fileID: 4661046637869644} 22 | - component: {fileID: 114217095398060286} 23 | m_Layer: 0 24 | m_Name: ARKitRemoteConnection 25 | m_TagString: Untagged 26 | m_Icon: {fileID: 0} 27 | m_NavMeshLayer: 0 28 | m_StaticEditorFlags: 0 29 | m_IsActive: 1 30 | --- !u!4 &4661046637869644 31 | Transform: 32 | m_ObjectHideFlags: 1 33 | m_PrefabParentObject: {fileID: 0} 34 | m_PrefabInternal: {fileID: 100100000} 35 | m_GameObject: {fileID: 1214069642587422} 36 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 37 | m_LocalPosition: {x: 0, y: 0, z: 1} 38 | m_LocalScale: {x: 1, y: 1, z: 1} 39 | m_Children: [] 40 | m_Father: {fileID: 0} 41 | m_RootOrder: 0 42 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 43 | --- !u!114 &114217095398060286 44 | MonoBehaviour: 45 | m_ObjectHideFlags: 1 46 | m_PrefabParentObject: {fileID: 0} 47 | m_PrefabInternal: {fileID: 100100000} 48 | m_GameObject: {fileID: 1214069642587422} 49 | m_Enabled: 1 50 | m_EditorHideFlags: 0 51 | m_Script: {fileID: 11500000, guid: 004464ca939eb4ec1a1b492fb8ebfd12, type: 3} 52 | m_Name: 53 | m_EditorClassIdentifier: 54 | startAlignment: 0 55 | planeDetection: 1 56 | getPointCloud: 1 57 | enableLightEstimation: 1 58 | resetTracking: 1 59 | removeExistingAnchors: 1 60 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ce7d6271a01a4274a00066492aed04a 3 | timeCreated: 1500571318 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/CompressionHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2e302b45830142a8b9e4fe09be4618d 3 | timeCreated: 1534796420 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b70a2d547e0544c983e2dec3bf61d46 3 | timeCreated: 1497387236 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public static class ConnectionMessageIds 6 | { 7 | public static Guid fromEditorARKitSessionMsgId { get { return new Guid("523bb5dd-163b-4e5b-9271-d18a50e8897e"); } } 8 | public static Guid updateCameraFrameMsgId { get { return new Guid("6d8c39bf-279a-46cf-91f4-9827a44443af"); } } 9 | public static Guid addPlaneAnchorMsgeId { get { return new Guid("a435cdb9-fa85-4d3c-9d3f-57fa85f62da3"); } } 10 | public static Guid updatePlaneAnchorMsgeId { get { return new Guid("84d5ad8d-e7f9-432c-ae5d-40717790a12f"); } } 11 | public static Guid removePlaneAnchorMsgeId { get { return new Guid("b07750a2-8825-4e86-9483-0b22b07df800"); } } 12 | public static Guid screenCaptureYMsgId { get { return new Guid("25c3d26f-72c5-4f3e-9a1f-c8c9b859453b"); } } 13 | public static Guid screenCaptureUVMsgId { get { return new Guid("d7f4d3cd-2d12-4ab7-b755-932fe7ab744d"); } } 14 | public static Guid addFaceAnchorMsgeId { get { return new Guid("7d7531e9-28b8-40b3-9afd-b6e7baa8e630"); } } 15 | public static Guid updateFaceAnchorMsgeId { get { return new Guid("80880c6e-d3f5-449a-9c8b-55c95b188563"); } } 16 | public static Guid removeFaceAnchorMsgeId { get { return new Guid("ba429c59-067e-4548-ab01-d7129f060872"); } } 17 | }; 18 | 19 | public static class SubMessageIds 20 | { 21 | public static Guid editorInitARKit { get { return new Guid("2e5d7c45-daef-474d-bf55-1f02f0a10b69"); } } 22 | public static Guid editorInitARKitFaceTracking { get { return new Guid("3e86ccf6-93c6-4b07-b78f-0a60f6ed4a7a"); } } 23 | }; 24 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8aba40a0fa3e49b4a51b657765f5bf6 3 | timeCreated: 1498693329 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorARFaceAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1aa34d80d3e0455ca018dfec2ad806d 3 | timeCreated: 1513192743 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorARPlaneAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7917239de65543aabc5363138de68b8 3 | timeCreated: 1517369156 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace UnityEngine.XR.iOS 6 | { 7 | 8 | public class EditorHitTest : MonoBehaviour { 9 | 10 | public Transform m_HitTransform; 11 | public float maxRayDistance = 30.0f; 12 | public LayerMask collisionLayerMask; 13 | 14 | #if UNITY_EDITOR //we will only use this script on the editor side, though there is nothing that would prevent it from working on device 15 | void Update () { 16 | if (Input.GetMouseButtonDown (0)) { 17 | Ray ray = Camera.main.ScreenPointToRay (Input.mousePosition); 18 | RaycastHit hit; 19 | 20 | //we'll try to hit one of the plane collider gameobjects that were generated by the plugin 21 | //effectively similar to calling HitTest with ARHitTestResultType.ARHitTestResultTypeExistingPlaneUsingExtent 22 | if (Physics.Raycast (ray, out hit, maxRayDistance, collisionLayerMask)) { 23 | //we're going to get the position from the contact point 24 | m_HitTransform.position = hit.point; 25 | Debug.Log (string.Format ("x:{0:0.######} y:{1:0.######} z:{2:0.######}", m_HitTransform.position.x, m_HitTransform.position.y, m_HitTransform.position.z)); 26 | 27 | //and the rotation from the transform of the plane collider 28 | m_HitTransform.rotation = hit.transform.rotation; 29 | } 30 | } 31 | } 32 | #endif 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e5621b71c5c74d94ac88603287035e2 3 | timeCreated: 1504320319 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1efc0006a07a4fc8ab373ea6249a832 3 | timeCreated: 1497484703 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Runtime.Serialization.Formatters.Binary; 4 | using System.IO; 5 | 6 | namespace UnityEngine.XR.iOS.Utils 7 | { 8 | //Extension class to provide serialize / deserialize methods to object. 9 | //src: http://stackoverflow.com/questions/1446547/how-to-convert-an-object-to-a-byte-array-in-c-sharp 10 | //NOTE: You need add [Serializable] attribute in your class to enable serialization 11 | public static class ObjectSerializationExtension 12 | { 13 | 14 | public static byte[] SerializeToByteArray(this object obj) 15 | { 16 | if (obj == null) 17 | { 18 | return null; 19 | } 20 | var bf = new BinaryFormatter(); 21 | using (var ms = new MemoryStream()) 22 | { 23 | bf.Serialize(ms, obj); 24 | return ms.ToArray(); 25 | } 26 | } 27 | 28 | public static T Deserialize(this byte[] byteArray) where T : class 29 | { 30 | if (byteArray == null) 31 | { 32 | return null; 33 | } 34 | using (var memStream = new MemoryStream()) 35 | { 36 | var binForm = new BinaryFormatter(); 37 | memStream.Write(byteArray, 0, byteArray.Length); 38 | memStream.Seek(0, SeekOrigin.Begin); 39 | var obj = (T)binForm.Deserialize(memStream); 40 | return obj; 41 | } 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93eca58af117741f3be69b00a1cc4077 3 | timeCreated: 1498702127 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80135f02c883b43c582626d2cd4d0190 3 | timeCreated: 1498702704 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ed73c0c9d4b76a418a0541c0cefd3ac 3 | timeCreated: 1498647556 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdf0c6a69131b44f5bdb35de994fcea1 3 | timeCreated: 1499380179 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a143135f16d634fa9ba945abac98f63c 3 | folderAsset: yes 4 | timeCreated: 1496972798 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a01e87b51a8094ac78a016f24aa36126 3 | folderAsset: yes 4 | timeCreated: 1517350660 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22fdc45d7403c4fa4b40da55963ffcf1 3 | folderAsset: yes 4 | timeCreated: 1517621849 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ARImagesSet_UnityLogo.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 1c37f7746917f4760aa00e7ff7fd81dc, type: 3} 12 | m_Name: ARImagesSet_UnityLogo 13 | m_EditorClassIdentifier: 14 | resourceGroupName: AR Rezources 15 | referenceImages: 16 | - {fileID: 11400000, guid: 9d6cedfb4c48647ca9007fb8cb8aa6b0, type: 2} 17 | - {fileID: 11400000, guid: fa9c5deee83494083beea0977b5302c2, type: 2} 18 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ARImagesSet_UnityLogo.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99f631f78c5d14f8cb9cc4e02da07eee 3 | timeCreated: 1518054548 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 11400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/GenerateImageAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b2be1c5634b84e8080b2a2491eca344 3 | timeCreated: 1517621953 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cfa39a9dbef344f5393dc1f3a82e9d79 3 | folderAsset: yes 4 | timeCreated: 1517947942 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogoblackonwhite.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogoblackonwhite.jpg -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogoblackonwhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogoblackonwhite.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogowhiteonblack.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogowhiteonblack.jpg -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogowhiteonblack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/ReferenceImages/unitylogowhiteonblack.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/UnityARImageAnchor.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: befc06ba4fe0046439ef5dac5a33c0e7 3 | timeCreated: 1517621937 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/UnityLogoReferenceImage.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 0414577f9c6b244e696949154859a4af, type: 3} 12 | m_Name: UnityLogoReferenceImage 13 | m_EditorClassIdentifier: 14 | imageName: unitylogoreferenceimage 15 | imageTexture: {fileID: 2800000, guid: fd3329f8ed29741c29b3bf4b0032cab9, type: 3} 16 | physicalSize: 0.06 17 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/UnityLogoReferenceImage.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa9c5deee83494083beea0977b5302c2 3 | timeCreated: 1520468043 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 11400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/UnityLogoWhiteOnBlack.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 0414577f9c6b244e696949154859a4af, type: 3} 12 | m_Name: UnityLogoWhiteOnBlack 13 | m_EditorClassIdentifier: 14 | imageName: unitywhiteonblack 15 | imageTexture: {fileID: 2800000, guid: f5f7b2e9e954b4a78ab3ac63fb17fb9c, type: 3} 16 | physicalSize: 0.06 17 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARImageAnchor/UnityLogoWhiteOnBlack.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d6cedfb4c48647ca9007fb8cb8aa6b0 3 | timeCreated: 1518054500 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 11400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARKitRelocalize.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bfeeb4a56cb7c4f9d8964859ba274911 3 | folderAsset: yes 4 | timeCreated: 1517350675 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARKitRelocalize/RelocalizationControl.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using UnityEngine.XR.iOS; 6 | 7 | public class RelocalizationControl : MonoBehaviour { 8 | 9 | public Text buttonText; 10 | public Text trackingStateText; 11 | public Text trackingReasonText; 12 | 13 | // Use this for initialization 14 | void Start () { 15 | UnityARSessionNativeInterface.ARSessionShouldAttemptRelocalization = false; 16 | UpdateText (); 17 | 18 | UnityARSessionNativeInterface.ARSessionTrackingChangedEvent += TrackingChanged; 19 | } 20 | 21 | // Update is called once per frame 22 | void Update () { 23 | 24 | } 25 | 26 | void TrackingChanged(UnityARCamera cam) 27 | { 28 | trackingStateText.text = cam.trackingState.ToString (); 29 | trackingReasonText.text = cam.trackingReason.ToString (); 30 | } 31 | 32 | void OnDestroy() 33 | { 34 | UnityARSessionNativeInterface.ARSessionTrackingChangedEvent -= TrackingChanged; 35 | } 36 | 37 | void UpdateText() 38 | { 39 | buttonText.text = UnityARSessionNativeInterface.ARSessionShouldAttemptRelocalization ? "SHOULD RELOCALIZE" : "NO RELOCALIZE"; 40 | } 41 | 42 | public void ToggleRelocalization() 43 | { 44 | UnityARSessionNativeInterface.ARSessionShouldAttemptRelocalization = !UnityARSessionNativeInterface.ARSessionShouldAttemptRelocalization; 45 | UpdateText (); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARKitRelocalize/RelocalizationControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eac3ceb65349d46409ef81d356324ffb 3 | timeCreated: 1517350960 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARKitRelocalize/UnityARKitRelocalize.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d44ef812aa5c94b71884c70a9518c644 3 | timeCreated: 1517350701 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPlaneMesh.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c21c1506d16bb4a12b0779f54965b0ef 3 | folderAsset: yes 4 | timeCreated: 1517429400 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPlaneMesh/ARKitPlaneMeshRender.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8e41ddf2dd3348c18a8734d14dbb2ba 3 | timeCreated: 1517429452 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPlaneMesh/UnityARPlaneMesh.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80858f7f97efd46c1ae3ee51a3134eef 3 | timeCreated: 1517431928 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPointCloudIds.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51ec150ac2b9b41e0ae2e73f35de5965 3 | folderAsset: yes 4 | timeCreated: 1543348434 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPointCloudIds/PointCloudIdsExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05e1e49fe7d42488697bb55de6470429 3 | timeCreated: 1543348655 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPointCloudIds/UnityPointCloudIds.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7b13cc3e03de46c3bdba51876cfc297 3 | timeCreated: 1543348497 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARSetWorldOrigin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7926aaa6453dd4c7f8a6c1490bf4c261 3 | folderAsset: yes 4 | timeCreated: 1518205629 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARSetWorldOrigin/SetWorldOriginControl.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using UnityEngine.XR.iOS; 6 | 7 | public class SetWorldOriginControl : MonoBehaviour { 8 | 9 | public Camera arCamera; 10 | public Text positionText; 11 | public Text rotationText; 12 | 13 | 14 | // Update is called once per frame 15 | void Update () { 16 | positionText.text = "Camera position=" + arCamera.transform.position.ToString (); 17 | rotationText.text = "Camera rotation=" + arCamera.transform.rotation.ToString (); 18 | } 19 | 20 | public void SetWorldOrigin() 21 | { 22 | UnityARSessionNativeInterface.GetARSessionNativeInterface().SetWorldOrigin (arCamera.transform); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARSetWorldOrigin/SetWorldOriginControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9617a86a116b6451da2a58f5828678d7 3 | timeCreated: 1518205921 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARSetWorldOrigin/UnityARSetWorldOrigin.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a34cd3250ee14e1c802e3b4aed373c8 3 | timeCreated: 1518205870 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8426060d697694fdd83c1305e3d42641 3 | folderAsset: yes 4 | timeCreated: 1518223278 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats/FaceTrackingVideoFormatsExample.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.XR.iOS; 3 | 4 | 5 | 6 | public class FaceTrackingVideoFormatsExample : MonoBehaviour { 7 | 8 | public Transform formatsParent; 9 | public GameObject videoFormatButtonPrefab; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | VideoFormatButton.FormatButtonPressedEvent += ExampletButtonPressed; 14 | PopulateVideoFormatButtons (); 15 | } 16 | 17 | void OnDestroy () { 18 | VideoFormatButton.FormatButtonPressedEvent -= ExampletButtonPressed; 19 | } 20 | 21 | void PopulateVideoFormatButtons() 22 | { 23 | foreach (UnityARVideoFormat vf in UnityARVideoFormat.SupportedFaceTrackingVideoFormats()) 24 | { 25 | GameObject go = Instantiate(videoFormatButtonPrefab, formatsParent); 26 | VideoFormatButton vfb = go.GetComponent (); 27 | if (vfb != null) { 28 | vfb.Populate (vf); 29 | } 30 | } 31 | } 32 | 33 | public void ExampletButtonPressed(UnityARVideoFormat videoFormat) 34 | { 35 | UnityARSessionNativeInterface session = UnityARSessionNativeInterface.GetARSessionNativeInterface(); 36 | 37 | var config = new ARKitFaceTrackingConfiguration(); 38 | 39 | if (config.IsSupported) { 40 | config.alignment = UnityARAlignment.UnityARAlignmentGravity; 41 | config.enableLightEstimation = true; 42 | config.videoFormat = videoFormat.videoFormatPtr; 43 | Application.targetFrameRate = videoFormat.framesPerSecond; 44 | 45 | UnityARSessionRunOption runOption = UnityARSessionRunOption.ARSessionRunOptionRemoveExistingAnchors | UnityARSessionRunOption.ARSessionRunOptionResetTracking; 46 | session.RunWithConfigAndOptions (config, runOption); 47 | } 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats/FaceTrackingVideoFormatsExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc619e8b2beea4a94ae40bf7520d95c3 3 | timeCreated: 1518224302 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats/UnityARFaceTrackingVideoFormats.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a7424cf0b0f04d4ba41bd0858deea1b 3 | timeCreated: 1543283147 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats/UnityARVideoFormats.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a88a66a31e1c640bb8f6592ac0e4ee7f 3 | timeCreated: 1518290295 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats/VideoFormatButton.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using UnityEngine.XR.iOS; 6 | 7 | public class VideoFormatButton : MonoBehaviour { 8 | 9 | public Text videoFormatDescription; 10 | private UnityARVideoFormat arVideoFormat; 11 | 12 | public delegate void VideoFormatButtonPressed(UnityARVideoFormat videoFormat); 13 | public static event VideoFormatButtonPressed FormatButtonPressedEvent; 14 | 15 | public void Populate(UnityARVideoFormat videoFormat) 16 | { 17 | arVideoFormat = videoFormat; 18 | videoFormatDescription.text = "VideoFormat Resolution: " + videoFormat.imageResolutionWidth + "x" + videoFormat.imageResolutionHeight + " FPS: " + videoFormat.framesPerSecond; 19 | } 20 | 21 | public void ButtonPressed() 22 | { 23 | if (FormatButtonPressedEvent != null) { 24 | FormatButtonPressedEvent.Invoke (arVideoFormat); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats/VideoFormatButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dc7312ca3b1549c6b07084d70ec4345 3 | timeCreated: 1518290389 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARVideoFormats/VideoFormatsExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8733413e47b0493a8897e36a496df50 3 | timeCreated: 1518224302 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5afb0c06196084cc78ff12d7dc05de4d 3 | folderAsset: yes 4 | timeCreated: 1523485203 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityAREnvironmentTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43d62f7feb3d040e88880a0627007c65 3 | folderAsset: yes 4 | timeCreated: 1523650634 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityAREnvironmentTexture/GenerateEnvironmentProbeAnchors.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfed9f4e970f64caaa0ed9d980c26ce7 3 | timeCreated: 1524007750 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityAREnvironmentTexture/HitCreateEnvironmentProbe.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47459a3bcdc854c5492307466f92398e 3 | timeCreated: 1524084457 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityAREnvironmentTexture/ReflectionProbeGameObject.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | [RequireComponent(typeof(ReflectionProbe))] 7 | public class ReflectionProbeGameObject : MonoBehaviour { 8 | 9 | ReflectionProbe reflectionProbe; 10 | bool latchUpdate = false; 11 | Cubemap latchedTexture = null; 12 | 13 | [SerializeField] 14 | GameObject debugExtentGO; 15 | 16 | // Use this for initialization 17 | void Start() 18 | { 19 | reflectionProbe = GetComponent (); 20 | } 21 | 22 | 23 | public void UpdateEnvironmentProbe(AREnvironmentProbeAnchor environmentProbeAnchor) 24 | { 25 | transform.position = UnityARMatrixOps.GetPosition (environmentProbeAnchor.transform); 26 | 27 | Quaternion rot = UnityARMatrixOps.GetRotation (environmentProbeAnchor.transform); 28 | 29 | //rot.z = -rot.z; 30 | //rot.w = -rot.w; 31 | 32 | transform.rotation = rot; 33 | 34 | if (reflectionProbe != null) 35 | { 36 | reflectionProbe.size = environmentProbeAnchor.Extent; 37 | } 38 | 39 | if (debugExtentGO != null) 40 | { 41 | debugExtentGO.transform.localScale = environmentProbeAnchor.Extent; 42 | } 43 | 44 | latchedTexture = environmentProbeAnchor.Cubemap; 45 | latchUpdate = true; 46 | } 47 | 48 | void Update() 49 | { 50 | //always make sure to update texture in next update 51 | if (latchUpdate && reflectionProbe != null) 52 | { 53 | if (reflectionProbe.customBakedTexture != null) 54 | { 55 | Object.Destroy(reflectionProbe.customBakedTexture); 56 | } 57 | reflectionProbe.customBakedTexture = latchedTexture; 58 | latchUpdate = false; 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityAREnvironmentTexture/ReflectionProbeGameObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92d3ef5f820884ac4a1a0b78cea353af 3 | timeCreated: 1524008371 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityAREnvironmentTexture/UnityAREnvironmentProbeAnchor.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90e8d78f99ddb4db1b5a7148d5d063b9 3 | timeCreated: 1524006207 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityAREnvironmentTexture/UnityAREnvironmentProbeAnchorManual.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f542d5b0c973449d94b4c654c3587b8 3 | timeCreated: 1524006207 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27514de6a60cf495790ec2b262d99195 3 | folderAsset: yes 4 | timeCreated: 1523555567 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/CokeCanObject.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: ea5fe5050450e46b696fbcff74cf3370, type: 3} 12 | m_Name: CokeCanObject 13 | m_EditorClassIdentifier: 14 | objectName: cokeCan 15 | referenceObject: {fileID: 102900000, guid: 03163c77b90434530bcfcb50f6da39f5, type: 3} 16 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/CokeCanObject.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e19bf88186ac942868db78225b734e9c 3 | timeCreated: 1527702223 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 11400000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ExampleObjectsSet.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: a5fac0b2c4da9499891f5a2e62563e15, type: 3} 12 | m_Name: ExampleObjectsSet 13 | m_EditorClassIdentifier: 14 | resourceGroupName: ExampleObjectsResourceGroup 15 | referenceObjectAssets: 16 | - {fileID: 11400000, guid: e19bf88186ac942868db78225b734e9c, type: 2} 17 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ExampleObjectsSet.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0700ead5baf8b4b778809cd428565c03 3 | timeCreated: 1523901996 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 11400000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/GenerateObjectAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5062efa1920ef4f8b93f82f869e65a8d 3 | timeCreated: 1523558137 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ReferenceObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecf5459ae4f86489a8975203db243ff6 3 | folderAsset: yes 4 | timeCreated: 1523556077 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ReferenceObjects/cokeCan.arobject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ReferenceObjects/cokeCan.arobject -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ReferenceObjects/cokeCan.arobject.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03163c77b90434530bcfcb50f6da39f5 3 | timeCreated: 1536711960 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ReferenceObjects/cokeCan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/ReferenceObjects/cokeCan.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARObjectAnchor/UnityARObjectAnchor.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b7966300d2d04d8e86ace41d59d178c 3 | timeCreated: 1523558024 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARWorldMap.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc17436be8ab140c4b1439118200cfb4 3 | folderAsset: yes 4 | timeCreated: 1523485203 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARWorldMap/UnityARWorldMap.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee2777dc048a5482db055433cf94aa0e 3 | timeCreated: 1523485203 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARWorldMap/UnityARWorldMapSerialized.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5886c251920f2454b98358e6027f37df 3 | timeCreated: 1525822678 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARWorldMap/UpdateWorldMappingStatus.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using UnityEngine.XR.iOS; 6 | 7 | public class UpdateWorldMappingStatus : MonoBehaviour 8 | { 9 | 10 | public Text text; 11 | public Text tracking; 12 | 13 | 14 | // Use this for initialization 15 | void Start () 16 | { 17 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += CheckWorldMapStatus; 18 | } 19 | 20 | void CheckWorldMapStatus(UnityARCamera cam) 21 | { 22 | text.text = cam.worldMappingStatus.ToString (); 23 | tracking.text = cam.trackingState.ToString () + " " + cam.trackingReason.ToString (); 24 | } 25 | 26 | void OnDestroy() 27 | { 28 | UnityARSessionNativeInterface.ARFrameUpdatedEvent -= CheckWorldMapStatus; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARWorldMap/UpdateWorldMappingStatus.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b59e1037d79d44fe59df4b634a2862e5 3 | timeCreated: 1525988622 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityARWorldMap/WorldMapManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b560694452f2c4413b835be89150c3ca 3 | timeCreated: 1523485295 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0314d9e49ee28428cb6f3c88775173be 3 | folderAsset: yes 4 | timeCreated: 1524091409 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/DetectedObjectManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 987cc8d0095014a95b677de171700cab 3 | timeCreated: 1524178753 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/ObjectScanManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89ea8e49a2d1a4f0abadbf08359b662e 3 | timeCreated: 1524156699 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/ObjectScanSessionManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17a920f05ea314690b37dfab2c93e97b 3 | timeCreated: 1527116937 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/ObjectText.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class ObjectText : MonoBehaviour { 6 | 7 | public TextMesh textMesh; 8 | 9 | // Use this for initialization 10 | void Start () { 11 | 12 | } 13 | 14 | public void UpdateTextMesh(string nameOfReferenceObject) 15 | { 16 | textMesh.text = nameOfReferenceObject; 17 | } 18 | 19 | // Update is called once per frame 20 | void Update () { 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/ObjectText.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39fb4afa2d68741688a6c32909d504c1 3 | timeCreated: 1524180519 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/PickBoundingBox.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d2687bd3ffe8429eb1a387f5598413c 3 | timeCreated: 1523908858 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/PrintBounds.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace UnityEngine.XR.iOS 7 | { 8 | [RequireComponent(typeof(UnityEngine.UI.Text))] 9 | public class PrintBounds : MonoBehaviour 10 | { 11 | [SerializeField] 12 | PickBoundingBox m_Picker; 13 | 14 | Text m_BoundsText; 15 | 16 | void Start() 17 | { 18 | m_BoundsText = GetComponent(); 19 | } 20 | 21 | // Update is called once per frame 22 | void Update() 23 | { 24 | var bounds = m_Picker.bounds; 25 | m_BoundsText.text = string.Format("Bounds:{0}", bounds.ToString("F2")) + string.Format(",size={0} ", bounds.size.ToString("F2")); 26 | m_BoundsText.text += string.Format ("Transform.pos:{0} rot:{1}", m_Picker.transform.position.ToString ("F2"), m_Picker.transform.rotation.ToString ("F2")); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/PrintBounds.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3894bd9b250945f19eb977dae78188d 3 | timeCreated: 1523924951 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityObjectScanner/UnityObjectScanner.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2b783b17754448c29d3b316a4a366c0 3 | timeCreated: 1524091536 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityTongueAndEyes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ebacf7535cd84238a1d576722f1eb8b 3 | folderAsset: yes 4 | timeCreated: 1528230429 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityTongueAndEyes/TongueDetector.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | using UnityEngine.UI; 6 | 7 | public class TongueDetector : MonoBehaviour 8 | { 9 | public GameObject tongueImage; 10 | bool shapeEnabled = false; 11 | Dictionary currentBlendShapes; 12 | 13 | // Use this for initialization 14 | void Start () 15 | { 16 | UnityARSessionNativeInterface.ARFaceAnchorAddedEvent += FaceAdded; 17 | UnityARSessionNativeInterface.ARFaceAnchorUpdatedEvent += FaceUpdated; 18 | UnityARSessionNativeInterface.ARFaceAnchorRemovedEvent += FaceRemoved; 19 | 20 | } 21 | 22 | void OnGUI() 23 | { 24 | bool enableTongue = false; 25 | 26 | if (shapeEnabled) 27 | { 28 | if (currentBlendShapes.ContainsKey (ARBlendShapeLocation.TongueOut)) 29 | { 30 | enableTongue = (currentBlendShapes [ARBlendShapeLocation.TongueOut] > 0.5f); 31 | 32 | } 33 | 34 | } 35 | 36 | tongueImage.SetActive (enableTongue); 37 | } 38 | 39 | void FaceAdded (ARFaceAnchor anchorData) 40 | { 41 | shapeEnabled = true; 42 | currentBlendShapes = anchorData.blendShapes; 43 | } 44 | 45 | void FaceUpdated (ARFaceAnchor anchorData) 46 | { 47 | currentBlendShapes = anchorData.blendShapes; 48 | } 49 | 50 | void FaceRemoved (ARFaceAnchor anchorData) 51 | { 52 | shapeEnabled = false; 53 | } 54 | // Update is called once per frame 55 | void Update () { 56 | 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityTongueAndEyes/TongueDetector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac3dd8ef8241540e293e48c558f22254 3 | timeCreated: 1528230551 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityTongueAndEyes/UnityEyeManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5e00426d34cb40fe8536720471a24bb 3 | timeCreated: 1528231673 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit2.0/UnityTongueAndEyes/UnityTongueAndEyes.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16c7209035275422aaed5631de9e5c7c 3 | timeCreated: 1528230458 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/AddRemoveAnchorExample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a88daffac7ad42debbc62feb726fe89 3 | folderAsset: yes 4 | timeCreated: 1499364808 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/AddRemoveAnchorExample/AddRemoveAnchorScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c59061d8b0a364aa58f20007a956f23a 3 | timeCreated: 1499365892 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/AddRemoveAnchorExample/RandomCube.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c5f8d679f3e64a40a967471f4fa7030 3 | timeCreated: 1499371804 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/AddRemoveAnchorExample/UnityARUserAnchorExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 677b99d7d687d4052a5c5e8006696910 3 | timeCreated: 1499374237 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99a3c390b086e41bcae2b94fee5d253a 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80ed123283a674013aef17bc2c431e8b 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/2000px-Checkerboard_pattern.svg.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48f9ec19142bd7e4c9f2441ab5799cca 3 | timeCreated: 1489779706 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/2000px-Checkerboard_patternUV.svg.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66fbc43c67b564bb4a4c2c2dcd6c1970 3 | timeCreated: 1489779706 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/ARKitPlaneMesh.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04845b76859034d95b1487d887525145 3 | timeCreated: 1517432121 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/BallMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5e394a942fae453583e8e6009ee49a1 3 | timeCreated: 1496972319 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/BoundingBox_Selected.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57bf08b71b2b14f8995a08cfc781d4cf 3 | timeCreated: 1523909746 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/BoundingBox_Unselected.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b37a3e843c7c41d897de1445ba4b187 3 | timeCreated: 1523909746 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/EnvironmentMapMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ff108178bf6e47d0ab6282a6ddfa885 3 | timeCreated: 1523651292 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 2100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/MeshBorder.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78f2880d33df84ede869907822bbb8c4 3 | timeCreated: 1517447583 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/Plane Physic Material.physicMaterial: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!134 &13400000 4 | PhysicMaterial: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Plane Physic Material 9 | dynamicFriction: 0.5 10 | staticFriction: 0.5 11 | bounciness: 0.1 12 | frictionCombine: 0 13 | bounceCombine: 0 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/Plane Physic Material.physicMaterial.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: beba2f308446f43da8e82c54f30f93b5 3 | timeCreated: 1496984011 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 13400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/PlayerMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ea44298aa419344dbdcf87dd1a50533 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/PointCloudMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a044f7471feb4bd4be40dcec09eae05 3 | timeCreated: 1493918099 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/PointCloudParticleMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7cffc03fadd142ea81401e16399833e 3 | timeCreated: 1493918099 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTBack.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RTBack 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_Width: 256 13 | m_Height: 256 14 | m_AntiAliasing: 1 15 | m_DepthFormat: 2 16 | m_ColorFormat: 0 17 | m_MipMap: 0 18 | m_GenerateMips: 1 19 | m_SRGB: 0 20 | m_TextureSettings: 21 | m_FilterMode: 1 22 | m_Aniso: 0 23 | m_MipBias: 0 24 | m_WrapMode: 1 25 | m_Dimension: 2 26 | m_VolumeDepth: 1 27 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTBack.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bf5451fa758d4c7cb976751e582bdc5 3 | timeCreated: 1509125000 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 8400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTBottom.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RTBottom 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_Width: 256 13 | m_Height: 256 14 | m_AntiAliasing: 1 15 | m_DepthFormat: 2 16 | m_ColorFormat: 0 17 | m_MipMap: 0 18 | m_GenerateMips: 1 19 | m_SRGB: 0 20 | m_TextureSettings: 21 | m_FilterMode: 1 22 | m_Aniso: 0 23 | m_MipBias: 0 24 | m_WrapMode: 1 25 | m_Dimension: 2 26 | m_VolumeDepth: 1 27 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTBottom.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f547bf7e1be7a4cd794d316baa8f21fb 3 | timeCreated: 1509125000 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 8400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTFront.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RTFront 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_Width: 256 13 | m_Height: 256 14 | m_AntiAliasing: 1 15 | m_DepthFormat: 2 16 | m_ColorFormat: 0 17 | m_MipMap: 0 18 | m_GenerateMips: 1 19 | m_SRGB: 0 20 | m_TextureSettings: 21 | m_FilterMode: 1 22 | m_Aniso: 0 23 | m_MipBias: 0 24 | m_WrapMode: 1 25 | m_Dimension: 2 26 | m_VolumeDepth: 1 27 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTFront.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4a4722373175490a93a7956b23953ec 3 | timeCreated: 1509125000 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 8400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTLeft.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RTLeft 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_Width: 256 13 | m_Height: 256 14 | m_AntiAliasing: 1 15 | m_DepthFormat: 2 16 | m_ColorFormat: 0 17 | m_MipMap: 0 18 | m_GenerateMips: 1 19 | m_SRGB: 0 20 | m_TextureSettings: 21 | m_FilterMode: 1 22 | m_Aniso: 0 23 | m_MipBias: 0 24 | m_WrapMode: 1 25 | m_Dimension: 2 26 | m_VolumeDepth: 1 27 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTLeft.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9121db1a6b1c443fb39767c96cb1ed3 3 | timeCreated: 1509125000 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 8400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTRight.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RTRight 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_Width: 256 13 | m_Height: 256 14 | m_AntiAliasing: 1 15 | m_DepthFormat: 2 16 | m_ColorFormat: 0 17 | m_MipMap: 0 18 | m_GenerateMips: 1 19 | m_SRGB: 0 20 | m_TextureSettings: 21 | m_FilterMode: 1 22 | m_Aniso: 0 23 | m_MipBias: 0 24 | m_WrapMode: 1 25 | m_Dimension: 2 26 | m_VolumeDepth: 1 27 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTRight.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9492362d6426443583dcad13f6515da 3 | timeCreated: 1509125000 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 8400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTTop.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RTTop 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_Width: 256 13 | m_Height: 256 14 | m_AntiAliasing: 1 15 | m_DepthFormat: 2 16 | m_ColorFormat: 0 17 | m_MipMap: 0 18 | m_GenerateMips: 1 19 | m_SRGB: 0 20 | m_TextureSettings: 21 | m_FilterMode: 1 22 | m_Aniso: 0 23 | m_MipBias: 0 24 | m_WrapMode: 1 25 | m_Dimension: 2 26 | m_VolumeDepth: 1 27 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/RTTop.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4bf99f420eecb4d14841917a1a5830fe 3 | timeCreated: 1509125000 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 8400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/SphereMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df83d7f64be1a4ef7b2c936b6de3c7a0 3 | timeCreated: 1509045622 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/XColor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aaae8be92ba59487a9946818d7a2017f 3 | timeCreated: 1493855225 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/YColor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fa2e9e7c08844dd4a8d581610839228 3 | timeCreated: 1493855225 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/ZColor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d55ccb0db00e54a1696c1e96094d706d 3 | timeCreated: 1493855225 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/debugPlaneMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b36939cf153274ec29fbf2f10d0a49d7 3 | timeCreated: 1492715747 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/occlusionPlaneMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25eeebe0578974575aac9f24b4ede717 3 | timeCreated: 1497288096 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Materials/shadowPlaneMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16f11da3beeaf498f8526286a295a38e 3 | timeCreated: 1497288096 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7bb5a53dd8ac49759db6bf17162dd20 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Models/Characters.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2db6ed60f35771478d3b31828b24fe8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Models/Characters/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e9efecd428e54b9aabf3e5fc4fbc526 3 | folderAsset: yes 4 | timeCreated: 1501101803 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Models/Characters/Materials/GunMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb5e14eb1d53543c2a0f0fb4f0bedcd8 3 | timeCreated: 1501101803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Models/Characters/Player.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Models/Characters/Player.fbx -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c232e85bbf134253ab599b8e50e5913 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/ARKitPlaneGeometry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24a8c4888599c4670ba129e2f2345e92 3 | timeCreated: 1517432446 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/AxesPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8855f6e449b9d4d3fae7f0a1a5ff9c2f 3 | timeCreated: 1505951457 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/AxesPrefabSmall.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e43066e50be7c43908f324c203e4c784 3 | timeCreated: 1528232493 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/BallPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e11b49885a57845e3b22a6355928ed72 3 | timeCreated: 1496972639 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/Box Face.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dcebda15b99e4457a22a698a16c0c4e 3 | timeCreated: 1523909948 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/CollSphere.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 772733b9aeeb7481ea21ab0986f34715 3 | timeCreated: 1496987653 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/DebugReflectionProbePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 209240d9a5b6a473d85f1c9ecc62698b 3 | timeCreated: 1524006967 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/ObjectText.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2c40ff3dd4b046f4a09d7d727a9d9d3 3 | timeCreated: 1524180818 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/ParticlePainterPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 200646a121c9c46f69245ca2c1b789ee 3 | timeCreated: 1494016471 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/ParticlePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87db9decf4b3e4cb8bf3eea22ccd37f5 3 | timeCreated: 1494009634 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/PointCloudPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02d2a544d8d594d30b790e76398d0873 3 | timeCreated: 1493917937 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/SmallCylinder.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39807a5465c08453e85a08bd6829affe 3 | timeCreated: 1523642785 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 100100000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/VideoFormatButton.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95c6bff2dfc164406901450885b965af 3 | timeCreated: 1518224083 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/collisionPlanePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 813dd14a7826b4795823dd39ac4cc050 3 | timeCreated: 1492718811 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/cube.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c8a1fc58df6b4d8c8c68e2883659c8a 3 | timeCreated: 1520468628 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/debugPlanePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f879aaf3eeb0c467eb22cbaf08dc97a4 3 | timeCreated: 1492718811 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/occlusionPlanePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9eb96f002ffce4560879b18f2e0502e5 3 | timeCreated: 1497394239 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Prefabs/shadowPlanePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 696855730620a483c9ae4c242e312b28 3 | timeCreated: 1497394239 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74f51f2576219447b8322610cbd17b01 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Shaders/InstancedSurfaceShader.shader: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: upgraded instancing buffer 'Props' to new syntax. 2 | 3 | Shader "Custom/InstancedSurfaceShader" { 4 | Properties { 5 | _Color ("Color", Color) = (1,1,1,1) 6 | _MainTex ("Albedo (RGB)", 2D) = "white" {} 7 | _Glossiness ("Smoothness", Range(0,1)) = 0.5 8 | _Metallic ("Metallic", Range(0,1)) = 0.0 9 | } 10 | SubShader { 11 | Tags { "RenderType"="Opaque" } 12 | LOD 200 13 | 14 | CGPROGRAM 15 | // Physically based Standard lighting model, and enable shadows on all light types 16 | #pragma surface surf Standard fullforwardshadows 17 | 18 | // Use shader model 3.0 target, to get nicer looking lighting 19 | #pragma target 3.0 20 | 21 | sampler2D _MainTex; 22 | 23 | struct Input { 24 | float2 uv_MainTex; 25 | }; 26 | 27 | half _Glossiness; 28 | half _Metallic; 29 | fixed4 _Color; 30 | 31 | // Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader. 32 | // See https://docs.unity3d.com/Manual/GPUInstancing.html for more information about instancing. 33 | // #pragma instancing_options assumeuniformscaling 34 | UNITY_INSTANCING_BUFFER_START(Props) 35 | // put more per-instance properties here 36 | UNITY_DEFINE_INSTANCED_PROP (fixed4, _InstanceColor) 37 | #define _InstanceColor_arr Props 38 | UNITY_INSTANCING_BUFFER_END(Props) 39 | 40 | void surf (Input IN, inout SurfaceOutputStandard o) { 41 | // Albedo comes from a texture tinted by color 42 | fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * UNITY_ACCESS_INSTANCED_PROP (_InstanceColor_arr, _InstanceColor); 43 | o.Albedo = c.rgb; 44 | // Metallic and smoothness come from slider variables 45 | o.Metallic = _Metallic; 46 | o.Smoothness = _Glossiness; 47 | o.Alpha = c.a; 48 | } 49 | ENDCG 50 | } 51 | FallBack "Diffuse" 52 | } 53 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Shaders/InstancedSurfaceShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aef340cb91e534f40870ff658a7aecee 3 | timeCreated: 1496974206 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Shaders/MobileARShadow.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: abcf973b8dc974208a882fe4b8c6b73f 3 | timeCreated: 1497394336 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Shaders/MobileOcclusion.shader: -------------------------------------------------------------------------------- 1 | Shader "Custom/MobileOcclusion" 2 | { 3 | SubShader { 4 | Pass { 5 | // Render the Occlusion shader before all 6 | // opaque geometry to prime the depth buffer. 7 | Tags { "Queue"="Geometry" } 8 | 9 | ZWrite On 10 | ZTest LEqual 11 | ColorMask 0 12 | 13 | CGPROGRAM 14 | #pragma vertex vert 15 | #pragma fragment frag 16 | 17 | #include "UnityCG.cginc" 18 | 19 | struct appdata 20 | { 21 | float4 vertex : POSITION; 22 | }; 23 | 24 | struct v2f 25 | { 26 | float4 position : SV_POSITION; 27 | }; 28 | 29 | v2f vert (appdata input) 30 | { 31 | v2f output; 32 | 33 | output.position = UnityObjectToClipPos(input.vertex); 34 | return output; 35 | } 36 | 37 | fixed4 frag (v2f input) : SV_Target 38 | { 39 | return fixed4(0.5, 0.3, 0.0, 1.0); 40 | } 41 | ENDCG 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Shaders/MobileOcclusion.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e5df5a56a7624e0981993663cf33154 3 | timeCreated: 1498679026 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52d64d946d6be4c8aa622c3f5e6bf042 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerDiffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerDiffuse.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerDiffuse.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3cc890ba79fb47449fb51893aa9b363 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerNormals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerNormals.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerNormals.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d98be175031405b4fb3f6a5f459a22e4 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 1 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerOcclusion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerOcclusion.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerOcclusion.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ae2af98f5c9f0243806bfb6ccbbdd19 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerSpecular.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerSpecular.tif -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/PlayerSpecular.tif.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc9b1c6383841ea4f9e532a49c651ff6 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/checker_large UV.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Textures/checker_large UV.gif -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/debugPlaneTile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Textures/debugPlaneTile.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/Common/Textures/unitylogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/Common/Textures/unitylogo.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 669335d2fe29243de91f7a0d430b31f9 3 | folderAsset: yes 4 | timeCreated: 1505775209 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/ARCameraTracker.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | public class ARCameraTracker : MonoBehaviour { 7 | 8 | [SerializeField] 9 | private Camera trackedCamera; 10 | 11 | private bool sessionStarted = false; 12 | 13 | // Use this for initialization 14 | void Start () { 15 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += FirstFrameUpdate; 16 | } 17 | 18 | void OnDestroy() 19 | { 20 | } 21 | 22 | void FirstFrameUpdate(UnityARCamera cam) 23 | { 24 | sessionStarted = true; 25 | UnityARSessionNativeInterface.ARFrameUpdatedEvent -= FirstFrameUpdate; 26 | } 27 | 28 | // Update is called once per frame 29 | void Update () { 30 | if (trackedCamera != null && sessionStarted) { 31 | Matrix4x4 cameraPose = UnityARSessionNativeInterface.GetARSessionNativeInterface ().GetCameraPose (); 32 | trackedCamera.transform.localPosition = UnityARMatrixOps.GetPosition (cameraPose); 33 | trackedCamera.transform.localRotation = UnityARMatrixOps.GetRotation (cameraPose); 34 | 35 | trackedCamera.projectionMatrix = UnityARSessionNativeInterface.GetARSessionNativeInterface ().GetCameraProjection (); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/ARCameraTracker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 961e52c3648614224b2a9dffa3055c07 3 | timeCreated: 1505866337 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/BlendshapeDriver.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | public class BlendshapeDriver : MonoBehaviour { 7 | 8 | SkinnedMeshRenderer skinnedMeshRenderer; 9 | Dictionary currentBlendShapes; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | skinnedMeshRenderer = GetComponent (); 14 | 15 | if (skinnedMeshRenderer) { 16 | UnityARSessionNativeInterface.ARFaceAnchorAddedEvent += FaceAdded; 17 | UnityARSessionNativeInterface.ARFaceAnchorUpdatedEvent += FaceUpdated; 18 | } 19 | } 20 | 21 | void FaceAdded (ARFaceAnchor anchorData) 22 | { 23 | currentBlendShapes = anchorData.blendShapes; 24 | } 25 | 26 | void FaceUpdated (ARFaceAnchor anchorData) 27 | { 28 | currentBlendShapes = anchorData.blendShapes; 29 | } 30 | 31 | 32 | // Update is called once per frame 33 | void Update () { 34 | 35 | if (currentBlendShapes != null) { 36 | foreach(KeyValuePair kvp in currentBlendShapes) 37 | { 38 | int blendShapeIndex = skinnedMeshRenderer.sharedMesh.GetBlendShapeIndex ("blendShape2." + kvp.Key); 39 | if (blendShapeIndex >= 0 ) { 40 | skinnedMeshRenderer.SetBlendShapeWeight (blendShapeIndex, kvp.Value * 100.0f); 41 | } 42 | } 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/BlendshapeDriver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4b0f477e0af343a89cdf372c8f19c89 3 | timeCreated: 1510188584 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/BlendshapePrinter.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | public class BlendshapePrinter : MonoBehaviour { 7 | 8 | bool shapeEnabled = false; 9 | Dictionary currentBlendShapes; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | UnityARSessionNativeInterface.ARFaceAnchorAddedEvent += FaceAdded; 14 | UnityARSessionNativeInterface.ARFaceAnchorUpdatedEvent += FaceUpdated; 15 | UnityARSessionNativeInterface.ARFaceAnchorRemovedEvent += FaceRemoved; 16 | 17 | } 18 | 19 | void OnGUI() 20 | { 21 | if (shapeEnabled) { 22 | 23 | string blendshapes = ""; 24 | string shapeNames = ""; 25 | string valueNames = ""; 26 | foreach(KeyValuePair kvp in currentBlendShapes) { 27 | blendshapes += " ["; 28 | blendshapes += kvp.Key.ToString (); 29 | blendshapes += ":"; 30 | blendshapes += kvp.Value.ToString (); 31 | blendshapes += "]\n"; 32 | shapeNames += "\""; 33 | shapeNames += kvp.Key.ToString (); 34 | shapeNames += "\",\n"; 35 | valueNames += kvp.Value.ToString (); 36 | valueNames += "\n"; 37 | } 38 | 39 | GUILayout.BeginHorizontal (GUILayout.ExpandHeight(true)); 40 | GUILayout.Box (blendshapes); 41 | GUILayout.EndHorizontal (); 42 | 43 | Debug.Log (shapeNames); 44 | Debug.Log (valueNames); 45 | 46 | } 47 | } 48 | 49 | void FaceAdded (ARFaceAnchor anchorData) 50 | { 51 | shapeEnabled = true; 52 | currentBlendShapes = anchorData.blendShapes; 53 | } 54 | 55 | void FaceUpdated (ARFaceAnchor anchorData) 56 | { 57 | currentBlendShapes = anchorData.blendShapes; 58 | } 59 | 60 | void FaceRemoved (ARFaceAnchor anchorData) 61 | { 62 | shapeEnabled = false; 63 | } 64 | 65 | 66 | // Update is called once per frame 67 | void Update () { 68 | 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/BlendshapePrinter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc6438cd254de46d9aab501d3d1660b4 3 | timeCreated: 1506122750 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/FaceAnchorScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46e299c2ec1244fbaa1b9b14e2ab198a 3 | timeCreated: 1505775273 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/FaceBlendshapeScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74c2619dd419d4704bba49146f77161d 3 | timeCreated: 1505775273 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/FaceBlendshapeSloth.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9bc483a4023d4829a88ddc3adff3caf 3 | timeCreated: 1510188488 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/FaceDirectionalLightEstimate.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 360fd35caee4f4e069485021a27c0b06 3 | timeCreated: 1507762821 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/FaceMeshScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e95b28d2a95b34b868e407dc86a3e6d2 3 | timeCreated: 1505775273 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e6346a0e785540a49eaae82317b2dfd 3 | folderAsset: yes 4 | timeCreated: 1510601314 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82967c9358aa34ec6a0f6e29750c642a 3 | folderAsset: yes 4 | timeCreated: 1511933011 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Materials/sloth_all_1001_AlbedoTransparency.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0eafc0c8e166e4cd2b0f64b71fda0c45 3 | timeCreated: 1511933011 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a488c610893e64a3289258a99af35e31 3 | folderAsset: yes 4 | timeCreated: 1510204871 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Textures/sloth_all_1001_AlbedoTransparency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Textures/sloth_all_1001_AlbedoTransparency.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Textures/sloth_all_1001_MetallicSmoothness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Textures/sloth_all_1001_MetallicSmoothness.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Textures/sloth_all_1001_Normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/Textures/sloth_all_1001_Normal.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/sloth_head_blendshapes5.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/FaceTracking/SlothCharacter/sloth_head_blendshapes5.fbx -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/UnityARFaceAnchorManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbb9909788bbd469bbce3102485cc0d9 3 | timeCreated: 1505951702 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FaceTracking/UnityARFaceMeshManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: baec72e2006ae48df9dcbf0eb13377f9 3 | timeCreated: 1505951702 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af68919dbd7264d6584857ed14b907e6 3 | folderAsset: yes 4 | timeCreated: 1504390677 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/FocusSquare.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 534fd29b1b9f645a28cf2f3deeaeda50 3 | timeCreated: 1504390678 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/FocusSquareFinding.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cca9b37da3e7e458fba02babd2ee71b9 3 | timeCreated: 1504634087 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 9100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/FocusSquareFinding.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdec2f90bd7304fd7859a64780a6947e 3 | timeCreated: 1504393627 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 0 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/FocusSquareFinding.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 455b404c52d7d4188bf02f3682baa204 3 | timeCreated: 1504390680 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 0 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/FocusSquareFocused.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad2f8ea2bac7e4117ad509404bab9f73 3 | timeCreated: 1504390680 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 0 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/FocusSquareFound.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dc9e0ae01c204ce7b7517c8d59713e6 3 | timeCreated: 1504393627 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 0 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/FocusSquareScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c9ef824a7b95400bade362484e9b6af 3 | timeCreated: 1504393453 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/focuspulse.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30f10be4bda0f4d1bb27b0f1ef492dcc 3 | timeCreated: 1504634087 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 7400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/focussquare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/FocusSquare/focussquare.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/FocusSquare/focussquarefound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/Assets/UnityARKitPlugin/Examples/FocusSquare/focussquarefound.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2082e391775a848b3922eee55f9e6de2 3 | folderAsset: yes 4 | timeCreated: 1503604404 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz/BallMaker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8d14a82591ec4fcabb481f075ffeb53 3 | timeCreated: 1496972819 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz/BallMover.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7f6cc13442cf445295719af5da92de8 3 | timeCreated: 1496974880 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz/Ballz.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Ballz : MonoBehaviour { 6 | 7 | public float yDistanceThreshold; 8 | 9 | private float startingY; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | startingY = transform.position.y; 14 | } 15 | 16 | // Update is called once per frame 17 | void Update () { 18 | 19 | if (Mathf.Abs (startingY - transform.position.y) > yDistanceThreshold) { 20 | Destroy (gameObject); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz/Ballz.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a2b4127da4fa4302b8db592636b3d55 3 | timeCreated: 1496967378 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz/ModeSwitcher.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class ModeSwitcher : MonoBehaviour { 6 | 7 | public GameObject ballMake; 8 | public GameObject ballMove; 9 | 10 | private int appMode = 0; 11 | // Use this for initialization 12 | void Start () { 13 | 14 | } 15 | 16 | // Update is called once per frame 17 | void Update () { 18 | 19 | } 20 | 21 | void EnableBallCreation(bool enable) 22 | { 23 | ballMake.SetActive (enable); 24 | ballMove.SetActive (!enable); 25 | 26 | } 27 | 28 | void OnGUI() 29 | { 30 | string modeString = appMode == 0 ? "MAKE" : "BREAK"; 31 | if (GUI.Button(new Rect(Screen.width -150.0f, 0.0f, 150.0f, 100.0f), modeString)) 32 | { 33 | appMode = (appMode + 1) % 2; 34 | EnableBallCreation (appMode == 0); 35 | } 36 | 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz/ModeSwitcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b892a4b0455dd4e378c69c09e1d48df4 3 | timeCreated: 1496987845 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARBallz/UnityARBallz.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75972bcfc855b486593ec2ec68da0b81 3 | timeCreated: 1496964608 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARKitScene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81c8e3240e6624a1c9c093d35f99d1cf 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARKitScene/UnityARKitScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c159f2591a9b5c843b0a0442451f78f8 3 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityAROcclusion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec50d8f0023aa44bc8abca2884b2c337 3 | folderAsset: yes 4 | timeCreated: 1503626045 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityAROcclusion/UnityAROcclusion.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f026c59fb9d6489ab924c6e0e119760 3 | timeCreated: 1497467387 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARShadows.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c5a49210742e49f6b01cc06377465be 3 | folderAsset: yes 4 | timeCreated: 1503626042 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityARShadows/UnityARShadows.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14d17ec7304f440b48e6b953ba7a5895 3 | timeCreated: 1497467387 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e746d1dc46f384723a49592cf820da3a 3 | folderAsset: yes 4 | timeCreated: 1503626042 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42ca15f1893ea4df79823e4a752e0032 3 | folderAsset: yes 4 | timeCreated: 1494022978 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a9e9df3c14e9034eb587348635c8f09 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Editor/BoxSliderEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8701e045b26e51f4eb345f2ccb3c13f5 3 | timeCreated: 1426804458 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Enums.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d3904d3d18ddd544820bd8518990fee 3 | folderAsset: yes 4 | timeCreated: 1442586617 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Enums/ColorValues.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public enum ColorValues 4 | { 5 | R, 6 | G, 7 | B, 8 | A, 9 | 10 | Hue, 11 | Saturation, 12 | Value 13 | } 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Enums/ColorValues.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 859a1720e083e504cb68917f781e87c7 3 | timeCreated: 1442586608 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Events.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bb0d49c64210014e9a24ed9345928c2 3 | folderAsset: yes 4 | timeCreated: 1442747310 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Events/ColorChangedEvent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using UnityEngine.Events; 4 | 5 | [Serializable] 6 | public class ColorChangedEvent : UnityEvent 7 | { 8 | 9 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Events/ColorChangedEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff46fbecea7739f4690e4285c88f53c5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Events/HSVChangedEvent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.Events; 3 | 4 | public class HSVChangedEvent : UnityEvent 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Events/HSVChangedEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d95ce8fba3dbbf4eb14411412169b88 3 | timeCreated: 1442747317 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Other.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 304681ea793fc054aa8ed2beab28d0b1 3 | folderAsset: yes 4 | timeCreated: 1442751317 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Other/ColorPickerTester.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class ColorPickerTester : MonoBehaviour 5 | { 6 | 7 | public new Renderer renderer; 8 | public ColorPicker picker; 9 | 10 | // Use this for initialization 11 | void Start () 12 | { 13 | picker.onValueChanged.AddListener(color => 14 | { 15 | renderer.material.color = color; 16 | }); 17 | renderer.material.color = picker.CurrentColor; 18 | } 19 | 20 | // Update is called once per frame 21 | void Update () { 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Other/ColorPickerTester.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06851a815227e5044b0e3c1bf9b3a282 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Other/TiltWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class TiltWindow : MonoBehaviour 4 | { 5 | public Vector2 range = new Vector2(5f, 3f); 6 | 7 | Transform mTrans; 8 | Quaternion mStart; 9 | Vector2 mRot = Vector2.zero; 10 | 11 | void Start () 12 | { 13 | mTrans = transform; 14 | mStart = mTrans.localRotation; 15 | } 16 | 17 | void Update () 18 | { 19 | Vector3 pos = Input.mousePosition; 20 | 21 | float halfWidth = Screen.width * 0.5f; 22 | float halfHeight = Screen.height * 0.5f; 23 | float x = Mathf.Clamp((pos.x - halfWidth) / halfWidth, -1f, 1f); 24 | float y = Mathf.Clamp((pos.y - halfHeight) / halfHeight, -1f, 1f); 25 | mRot = Vector2.Lerp(mRot, new Vector2(x, y), Time.deltaTime * 5f); 26 | 27 | mTrans.localRotation = mStart * Quaternion.Euler(-mRot.y * range.y, mRot.x * range.x, 0f); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Other/TiltWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2aa04a3e088320429a06194a3483daa 3 | timeCreated: 1426051352 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/Picker 2.0.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 916ee089a0d7b63419075f91e1c657ec 3 | timeCreated: 1442747914 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/PickerTest.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce46c07f0028e314ab7767577ab5e7a6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b5fe4e314cbd9944bcaa93e814e9bd5 3 | folderAsset: yes 4 | timeCreated: 1442586536 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorImage.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | [RequireComponent(typeof(Image))] 6 | public class ColorImage : MonoBehaviour 7 | { 8 | public ColorPicker picker; 9 | 10 | private Image image; 11 | 12 | private void Awake() 13 | { 14 | image = GetComponent(); 15 | picker.onValueChanged.AddListener(ColorChanged); 16 | } 17 | 18 | private void OnDestroy() 19 | { 20 | picker.onValueChanged.RemoveListener(ColorChanged); 21 | } 22 | 23 | private void ColorChanged(Color newColor) 24 | { 25 | image.color = newColor; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bca58eb07ad66b498a2f158bcb13225 3 | timeCreated: 1442675622 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorLabel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b10e832a32d2d14facd8a3f489ee8d6 3 | timeCreated: 1442587803 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorPicker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8262e4a8322117f4da079921eaa72834 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorPresets.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | public class ColorPresets : MonoBehaviour 5 | { 6 | public ColorPicker picker; 7 | public GameObject[] presets; 8 | public Image createPresetImage; 9 | 10 | void Awake() 11 | { 12 | // picker.onHSVChanged.AddListener(HSVChanged); 13 | picker.onValueChanged.AddListener(ColorChanged); 14 | } 15 | 16 | public void CreatePresetButton() 17 | { 18 | for (var i = 0; i < presets.Length; i++) 19 | { 20 | if (!presets[i].activeSelf) 21 | { 22 | presets[i].SetActive(true); 23 | presets[i].GetComponent().color = picker.CurrentColor; 24 | break; 25 | } 26 | } 27 | } 28 | 29 | public void PresetSelect(Image sender) 30 | { 31 | picker.CurrentColor = sender.color; 32 | } 33 | 34 | // Not working, it seems ConvertHsvToRgb() is broken. It doesn't work when fed 35 | // input h, s, v as shown below. 36 | // private void HSVChanged(float h, float s, float v) 37 | // { 38 | // createPresetImage.color = HSVUtil.ConvertHsvToRgb(h, s, v, 1); 39 | // } 40 | private void ColorChanged(Color color) 41 | { 42 | createPresetImage.color = color; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorPresets.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0923373e76e77402c9c53a2f1250ad3e 3 | timeCreated: 1456875791 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c600592efa0cf25479655321bf4fb08a 3 | timeCreated: 1442586558 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/ColorSliderImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ca76dd9ad6eb204c9b0481aece34497 3 | timeCreated: 1442682013 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/HexColorField.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d85c534b3c1560544b09d0996dfeba84 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UI/SVBoxSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e4240873631f724496efec97d7151b3 3 | timeCreated: 1442650713 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UtilityScripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b33138f525222146865861432dbe845 3 | folderAsset: yes 4 | timeCreated: 1426051345 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UtilityScripts/BoxSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37c44bc94a9a7f241b5b552f3ff89458 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/HSVPicker/UtilityScripts/HSVUtil.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f3189246d7fc204faba7a1e9c08e0af 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/ParticlePainter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3a20b380ef854b22b8541736614c00e 3 | timeCreated: 1494016368 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/UnityParticlePainter/UnityParticlePainter.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0327f0aa0142146c291df8203b848257 3 | timeCreated: 1494021616 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05a89afb32ff4cd48a0278f931aa903b 3 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20ca1a77fe0cf4e049dac6d2a8afd62e 3 | folderAsset: yes 4 | timeCreated: 1492036260 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8fd2eea89786441a84b5c25c1d48982 3 | folderAsset: yes 4 | timeCreated: 1492103332 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImage.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [CreateAssetMenu(fileName = "ARReferenceImage" , menuName = "UnityARKitPlugin/ARReferenceImage", order = 2)] 6 | public class ARReferenceImage : ScriptableObject { 7 | 8 | public string imageName; 9 | public Texture2D imageTexture; 10 | public float physicalSize; 11 | 12 | } 13 | 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0414577f9c6b244e696949154859a4af 3 | timeCreated: 1517880235 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImagesSet.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [CreateAssetMenu(fileName = "ARReferenceImagesSet" , menuName = "UnityARKitPlugin/ARReferenceImagesSet", order = 3)] 6 | public class ARReferenceImagesSet : ScriptableObject { 7 | 8 | public string resourceGroupName; 9 | public ARReferenceImage [] referenceImages; 10 | 11 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImagesSet.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c37f7746917f4760aa00e7ff7fd81dc 3 | timeCreated: 1518054368 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceObjectAsset.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | [CreateAssetMenu(fileName = "ARReferenceObjectAsset" , menuName = "UnityARKitPlugin/ARReferenceObjectAsset", order = 4)] 7 | public class ARReferenceObjectAsset : ScriptableObject { 8 | public string objectName; 9 | public Object referenceObject; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceObjectAsset.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea5fe5050450e46b696fbcff74cf3370 3 | timeCreated: 1523901725 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceObjectsSetAsset.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | using System.IO; 6 | 7 | [CreateAssetMenu(fileName = "ARReferenceObjectsSetAsset" , menuName = "UnityARKitPlugin/ARReferenceObjectsSetAsset", order = 4)] 8 | public class ARReferenceObjectsSetAsset : ScriptableObject { 9 | 10 | public string resourceGroupName; 11 | public ARReferenceObjectAsset [] referenceObjectAssets; 12 | 13 | public List LoadReferenceObjectsInSet() 14 | { 15 | List listRefObjects = new List (); 16 | 17 | if (UnityARSessionNativeInterface.IsARKit_2_0_Supported() == false) 18 | { 19 | return listRefObjects; 20 | } 21 | 22 | string folderPath = Application.streamingAssetsPath + "/ARReferenceObjects/" + resourceGroupName + ".arresourcegroup"; 23 | string contentsJsonPath = Path.Combine(folderPath, "Contents.json"); 24 | 25 | ARResourceGroupContents resGroupContents = JsonUtility.FromJson(File.ReadAllText (contentsJsonPath)); 26 | 27 | foreach (ARResourceGroupResource arrgr in resGroupContents.resources) 28 | { 29 | string objectFolderPath = Path.Combine(folderPath, arrgr.filename); 30 | string objJsonPath = Path.Combine (objectFolderPath, "Contents.json"); 31 | ARReferenceObjectResourceContents resourceContents = JsonUtility.FromJson (File.ReadAllText (objJsonPath)); 32 | string fileToLoad = Path.Combine (objectFolderPath, resourceContents.objects [0].filename); 33 | ARReferenceObject arro = ARReferenceObject.Load(fileToLoad); 34 | arro.name = resourceContents.referenceObjectName; 35 | listRefObjects.Add (arro); 36 | } 37 | 38 | return listRefObjects; 39 | } 40 | 41 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceObjectsSetAsset.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5fac0b2c4da9499891f5a2e62563e15 3 | timeCreated: 1523901725 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARResourcesJSON.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System; 5 | 6 | namespace UnityEngine.XR.iOS 7 | { 8 | [Serializable] 9 | public class ARResourceGroupInfo 10 | { 11 | public int version; 12 | public string author; 13 | } 14 | 15 | [Serializable] 16 | public class ARResourceGroupResource 17 | { 18 | public string filename; 19 | } 20 | 21 | [Serializable] 22 | public class ARResourceGroupContents 23 | { 24 | public ARResourceGroupInfo info; 25 | public ARResourceGroupResource [] resources; 26 | } 27 | 28 | [Serializable] 29 | public class ARResourceInfo 30 | { 31 | public int version; 32 | public string author; 33 | } 34 | 35 | [Serializable] 36 | public class ARResourceProperties 37 | { 38 | public float width; 39 | } 40 | 41 | [Serializable] 42 | public class ARResourceFilename 43 | { 44 | public string idiom; 45 | public string filename; 46 | } 47 | 48 | [Serializable] 49 | public class ARResourceContents 50 | { 51 | public ARResourceFilename [] images; 52 | public ARResourceInfo info; 53 | public ARResourceProperties properties; 54 | } 55 | 56 | [Serializable] 57 | public class ARReferenceObjectResourceContents 58 | { 59 | public ARResourceFilename[] objects; 60 | public ARResourceInfo info; 61 | public string referenceObjectName; 62 | } 63 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARResourcesJSON.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c96ff67f78bac414e844358bb0f999fb 3 | timeCreated: 1518029034 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 085eeda524261654b88f97ea61b33090 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/ARResourcesJSON.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System; 5 | 6 | namespace UnityEngine.XR.iOS 7 | { 8 | [Serializable] 9 | public class ARResourceGroupInfo 10 | { 11 | public int version; 12 | public string author; 13 | } 14 | 15 | [Serializable] 16 | public class ARResourceGroupResource 17 | { 18 | public string filename; 19 | } 20 | 21 | [Serializable] 22 | public class ARResourceGroupContents 23 | { 24 | public ARResourceGroupInfo info; 25 | public ARResourceGroupResource [] resources; 26 | } 27 | 28 | [Serializable] 29 | public class ARResourceInfo 30 | { 31 | public int version; 32 | public string author; 33 | } 34 | 35 | [Serializable] 36 | public class ARResourceProperties 37 | { 38 | public float width; 39 | } 40 | 41 | [Serializable] 42 | public class ARResourceImage 43 | { 44 | public string idiom; 45 | public string filename; 46 | } 47 | 48 | [Serializable] 49 | public class ARResourceContents 50 | { 51 | public ARResourceImage [] images; 52 | public ARResourceInfo info; 53 | public ARResourceProperties properties; 54 | } 55 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/ARResourcesJSON.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c96ff67f78bac414e844358bb0f999fb 3 | timeCreated: 1518029034 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a56f8b807c15f4cf3a44275a5e5f89f3 3 | timeCreated: 1492795428 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e4b720fdfe6441c280f3288bdb93c0d 3 | folderAsset: yes 4 | timeCreated: 1503626042 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ff614c6973544218b2c1e3036b8de0a 3 | timeCreated: 1494626284 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARKitPlaneMeshRender.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8e41ddf2dd3348c18a8734d14dbb2ba 3 | timeCreated: 1517429452 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public class ARPlaneAnchorGameObject 6 | { 7 | public GameObject gameObject; 8 | public ARPlaneAnchor planeAnchor; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a07258b16ace4bf1a395aa0a80f2135 3 | timeCreated: 1493059957 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class DontDestroyOnLoad : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | DontDestroyOnLoad (gameObject); 10 | } 11 | 12 | // Update is called once per frame 13 | void Update () { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 562a9fe49bfc2418099790a804f22711 3 | timeCreated: 1493408595 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/LinkedListDictionary.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 356fa3989471245169edcc5abb89e6d7 3 | timeCreated: 1502403391 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec20d460fbb7e4f92b4d84a10da98cd9 3 | timeCreated: 1494006942 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using UnityEngine.XR.iOS; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARAmbient : MonoBehaviour 7 | { 8 | 9 | private Light l; 10 | 11 | public void Start() 12 | { 13 | l = GetComponent(); 14 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += UpdateLightEstimation; 15 | } 16 | 17 | void UpdateLightEstimation(UnityARCamera camera) 18 | { 19 | if (camera.lightData.arLightingType == LightDataType.LightEstimate) { 20 | // Convert ARKit intensity to Unity intensity 21 | // ARKit ambient intensity ranges 0-2000 22 | // Unity ambient intensity ranges 0-8 (for over-bright lights) 23 | float newai = camera.lightData.arLightEstimate.ambientIntensity; 24 | l.intensity = newai / 1000.0f; 25 | 26 | //Unity Light has functionality to filter the light color to correct temperature 27 | //https://docs.unity3d.com/ScriptReference/Light-colorTemperature.html 28 | l.colorTemperature = camera.lightData.arLightEstimate.ambientColorTemperature; 29 | } 30 | } 31 | 32 | void OnDestroy() { 33 | UnityARSessionNativeInterface.ARFrameUpdatedEvent -= UpdateLightEstimation; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5587c957048494a2f96db36e0995449e 3 | timeCreated: 1492805300 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00b197bb73412448e9a5e14be146aaeb 3 | timeCreated: 1492557010 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 462d46d2423bb4f738d2497a397b1590 3 | timeCreated: 1493058653 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | [RequireComponent(typeof(Camera))] 7 | public class UnityARCameraNearFar : MonoBehaviour { 8 | 9 | private Camera attachedCamera; 10 | private float currentNearZ; 11 | private float currentFarZ; 12 | 13 | // Use this for initialization 14 | void Start () { 15 | attachedCamera = GetComponent (); 16 | UpdateCameraClipPlanes (); 17 | } 18 | 19 | void UpdateCameraClipPlanes() 20 | { 21 | currentNearZ = attachedCamera.nearClipPlane; 22 | currentFarZ = attachedCamera.farClipPlane; 23 | UnityARSessionNativeInterface.GetARSessionNativeInterface ().SetCameraClipPlanes (currentNearZ, currentFarZ); 24 | } 25 | 26 | // Update is called once per frame 27 | void Update () { 28 | if (currentNearZ != attachedCamera.nearClipPlane || currentFarZ != attachedCamera.farClipPlane) { 29 | UpdateCameraClipPlanes (); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce437cef046e841aabd6070890e79d41 3 | timeCreated: 1496930896 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARGeneratePlane : MonoBehaviour 7 | { 8 | public GameObject planePrefab; 9 | private UnityARAnchorManager unityARAnchorManager; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | unityARAnchorManager = new UnityARAnchorManager(); 14 | UnityARUtility.InitializePlanePrefab (planePrefab); 15 | } 16 | 17 | void OnDestroy() 18 | { 19 | unityARAnchorManager.Destroy (); 20 | } 21 | 22 | void OnGUI() 23 | { 24 | IEnumerable arpags = unityARAnchorManager.GetCurrentPlaneAnchors (); 25 | foreach(var planeAnchor in arpags) 26 | { 27 | //ARPlaneAnchor ap = planeAnchor; 28 | //GUI.Box (new Rect (100, 100, 800, 60), string.Format ("Center: x:{0}, y:{1}, z:{2}", ap.center.x, ap.center.y, ap.center.z)); 29 | //GUI.Box(new Rect(100, 200, 800, 60), string.Format ("Extent: x:{0}, y:{1}, z:{2}", ap.extent.x, ap.extent.y, ap.extent.z)); 30 | } 31 | } 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31cac8edf84834043ac167deaeba16a9 3 | timeCreated: 1493058396 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARHitTestExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6941ec02ead994c9b848d640887441f1 3 | timeCreated: 1492806244 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4977b930c0f8843c8b8a101ba5bf3c8f 3 | timeCreated: 1493240142 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitLightManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0b95baf0d5f840f4bd22de86c996c08 3 | timeCreated: 1506357597 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37808a86538754725a15d36128fd2afc 3 | timeCreated: 1492800582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.XR.iOS; 6 | 7 | namespace UnityEngine.XR.iOS 8 | { 9 | public class UnityARUserAnchorComponent : MonoBehaviour { 10 | 11 | private string m_AnchorId; 12 | 13 | public string AnchorId { get { return m_AnchorId; } } 14 | 15 | void Awake() 16 | { 17 | UnityARSessionNativeInterface.ARUserAnchorUpdatedEvent += GameObjectAnchorUpdated; 18 | UnityARSessionNativeInterface.ARUserAnchorRemovedEvent += AnchorRemoved; 19 | this.m_AnchorId = UnityARSessionNativeInterface.GetARSessionNativeInterface ().AddUserAnchorFromGameObject(this.gameObject).identifierStr; 20 | } 21 | void Start () { 22 | 23 | } 24 | 25 | public void AnchorRemoved(ARUserAnchor anchor) 26 | { 27 | if (anchor.identifier.Equals(m_AnchorId)) 28 | { 29 | Destroy(this.gameObject); 30 | } 31 | } 32 | 33 | void OnDestroy() { 34 | UnityARSessionNativeInterface.ARUserAnchorUpdatedEvent -= GameObjectAnchorUpdated; 35 | UnityARSessionNativeInterface.ARUserAnchorRemovedEvent -= AnchorRemoved; 36 | UnityARSessionNativeInterface.GetARSessionNativeInterface ().RemoveUserAnchor(this.m_AnchorId); 37 | } 38 | 39 | private void GameObjectAnchorUpdated(ARUserAnchor anchor) 40 | { 41 | if (anchor.identifier.Equals(m_AnchorId)) 42 | { 43 | transform.position = UnityARMatrixOps.GetPosition(anchor.transform); 44 | transform.rotation = UnityARMatrixOps.GetRotation(anchor.transform); 45 | 46 | Console.WriteLine("Updated: pos = " + transform.position + m_AnchorId); 47 | } 48 | } 49 | } 50 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d24244ceb54d42ca92481ba81c45056 3 | timeCreated: 1499372973 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9736aad5d8518481ab7e8d1d0b0e6e36 3 | timeCreated: 1492800582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b58ecea7a196242dd879c814ac05084c 3 | timeCreated: 1492796577 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.XR.iOS; 4 | using System.Collections.Generic; 5 | 6 | public class UnityPointCloudExample : MonoBehaviour 7 | { 8 | public uint numPointsToShow = 100; 9 | public GameObject PointCloudPrefab = null; 10 | List pointCloudObjects; 11 | Vector3[] m_PointCloudData; 12 | 13 | public void Start() 14 | { 15 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; 16 | if (PointCloudPrefab != null) 17 | { 18 | pointCloudObjects = new List (); 19 | for (int i =0; i < numPointsToShow; i++) 20 | { 21 | pointCloudObjects.Add (Instantiate (PointCloudPrefab)); 22 | } 23 | } 24 | } 25 | 26 | public void ARFrameUpdated(UnityARCamera camera) 27 | { 28 | m_PointCloudData = camera.pointCloud.Points; 29 | } 30 | 31 | public void Update() 32 | { 33 | if (PointCloudPrefab != null && m_PointCloudData != null) 34 | { 35 | for (int count = 0; count < Math.Min (m_PointCloudData.Length, numPointsToShow); count++) 36 | { 37 | Vector4 vert = m_PointCloudData [count]; 38 | GameObject point = pointCloudObjects [count]; 39 | point.transform.position = new Vector3(vert.x, vert.y, vert.z); 40 | } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5ab0fdfbf2334e8dbbcdda6ceada7e3 3 | timeCreated: 1493835634 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b97b0ebd5e0d84160a0b477bf246c1e1 3 | folderAsset: yes 4 | timeCreated: 1492792741 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1d9352050a75486f878ab19fa578f16 3 | timeCreated: 1492641356 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2081057c5ab9b4b20a1a1c4efdace299 3 | timeCreated: 1492641356 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6930a53974b964a77bb66c8a01551eaa 3 | folderAsset: yes 4 | timeCreated: 1492795798 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARAnchor 6 | { 7 | public string identifier; 8 | 9 | /** 10 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 11 | */ 12 | public Matrix4x4 transform; 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79ff8feee38c24e158252a971d93a42a 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace UnityEngine.XR.iOS 6 | { 7 | public struct ARCamera 8 | { 9 | /** 10 | The transformation matrix that defines the camera's rotation and translation in world coordinates. 11 | */ 12 | 13 | public Matrix4x4 worldTransform; 14 | 15 | /** 16 | The camera's orientation defined as Euler angles. 17 | 18 | @dicussion The order of components in this vector matches the axes of rotation: 19 | 1. Pitch (the x component) is the rotation about the node's x-axis (in radians) 20 | 2. Yaw (the y component) is the rotation about the node's y-axis (in radians) 21 | 3. Roll (the z component) is the rotation about the node's z-axis (in radians) 22 | ARKit applies these rotations in the reverse order of the components: 23 | 1. first roll 24 | 2. then yaw 25 | 3. then pitch 26 | */ 27 | 28 | public Vector3 eulerAngles; 29 | 30 | public ARTrackingQuality trackingQuality; 31 | 32 | /** 33 | The camera intrinsics. 34 | @discussion The matrix has the following contents: 35 | fx 0 px 36 | 0 fy py 37 | 0 0 1 38 | fx and fy are the focal length in pixels. 39 | px and py are the coordinates of the principal point in pixels. 40 | The origin is at the center of the upper-left pixel. 41 | */ 42 | 43 | public Vector3 intrinsics_row1; 44 | public Vector3 intrinsics_row2; 45 | public Vector3 intrinsics_row3; 46 | 47 | public ARSize imageResolution; 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7914788e42e54a09ac79ed2629dfb48 3 | timeCreated: 1492103364 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/AREnvironmentProbe.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c6d0809cf3424e35877af8d6971e6b0 3 | timeCreated: 1523998953 4 | licenseType: Pro 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 0 22 | settings: 23 | DefaultValueInitialized: true 24 | - first: 25 | iPhone: iOS 26 | second: 27 | enabled: 1 28 | settings: {} 29 | - first: 30 | tvOS: tvOS 31 | second: 32 | enabled: 1 33 | settings: {} 34 | userData: 35 | assetBundleName: 36 | assetBundleVariant: 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/AREnvironmentProbeAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 910c01687822140fda3d851b2e33844d 3 | timeCreated: 1524000394 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARErrorCode : long 6 | { 7 | /** Unsupported session configuration. */ 8 | ARErrorCodeUnsupportedConfiguration = 100, 9 | 10 | /** A sensor required to run the session is not available. */ 11 | ARErrorCodeSensorUnavailable = 101, 12 | 13 | /** A sensor failed to provide the required input. */ 14 | ARErrorCodeSensorFailed = 102, 15 | 16 | /** World tracking has encountered a fatal error. */ 17 | ARErrorCodeWorldTrackingFailed = 200, 18 | 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 094318df5b9084291abdf9a768914ab7 3 | timeCreated: 1492118622 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFaceAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bd5d00d33612415b85197cd523a21e6 3 | timeCreated: 1505528974 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARFrame 6 | { 7 | /** 8 | A timestamp identifying the frame. 9 | */ 10 | public double timestamp; 11 | 12 | /** 13 | The frame's captured image. 14 | */ 15 | public IntPtr capturedImage; 16 | 17 | /** 18 | The camera used to capture the frame's image. 19 | @discussion The camera provides the device's position and orientation as well as camera parameters. 20 | */ 21 | public ARCamera camera; 22 | 23 | /** 24 | A list of anchors in the scene. 25 | */ 26 | //List anchors; 27 | 28 | /** 29 | A light estimate representing the light in the scene. 30 | @discussion Returns nil if there is no light estimation. 31 | */ 32 | ARLightEstimate lightEstimate; 33 | 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8b915b5e16c84740b940efc7a7e2821 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARHitTestResult 6 | { 7 | /** 8 | The type of the hit-test result. 9 | */ 10 | public ARHitTestResultType type; 11 | 12 | /** 13 | The distance from the camera to the intersection in meters. 14 | */ 15 | public double distance; 16 | 17 | /** 18 | The transformation matrix that defines the intersection's rotation, translation and scale 19 | relative to the anchor or nearest feature point. 20 | */ 21 | public Matrix4x4 localTransform; 22 | 23 | /** 24 | The transformation matrix that defines the intersection's rotation, translation and scale 25 | relative to the world. 26 | */ 27 | public Matrix4x4 worldTransform; 28 | 29 | /** 30 | The anchor that the hit-test intersected. 31 | */ 32 | public string anchorIdentifier; 33 | 34 | /** 35 | True if the test represents a valid hit test. Data is undefined otherwise. 36 | */ 37 | public bool isValid; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 048b3fa7b70bb49689905314375cd7c3 3 | timeCreated: 1492121726 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | [Flags] 6 | public enum ARHitTestResultType : long 7 | { 8 | /** Result type from intersecting the nearest feature point. */ 9 | ARHitTestResultTypeFeaturePoint = (1 << 0), 10 | 11 | /** A real-world planar surface detected by the search (without a corresponding anchor), whose orientation is perpendicular to gravity. */ 12 | ARHitTestResultTypeEstimatedHorizontalPlane = (1 << 1), 13 | 14 | /** A real-world planar surface detected by the search, whose orientation is parallel to gravity. */ 15 | ARHitTestResultTypeEstimatedVerticalPlane = (1 << 2), 16 | 17 | /** Result type from intersecting with an existing plane anchor. */ 18 | ARHitTestResultTypeExistingPlane = (1 << 3), 19 | 20 | /** Result type from intersecting with an existing plane anchor, taking into account the plane's extent. */ 21 | ARHitTestResultTypeExistingPlaneUsingExtent = ( 1 << 4), 22 | 23 | /** A plane anchor already in the scene (detected with the planeDetection option), respecting the plane's estimated size and shape. **/ 24 | ARHitTestResultTypeExistingPlaneUsingGeometry = (1 << 5) 25 | 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d70fc085339c436b848c46340250a29 3 | timeCreated: 1492121726 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARImageAnchor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System; 5 | using System.Runtime.InteropServices; 6 | 7 | 8 | namespace UnityEngine.XR.iOS 9 | { 10 | 11 | public struct UnityARImageAnchorData 12 | { 13 | 14 | public IntPtr ptrIdentifier; 15 | 16 | /** 17 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 18 | */ 19 | public UnityARMatrix4x4 transform; 20 | 21 | public IntPtr referenceImageNamePtr; 22 | 23 | public float referenceImagePhysicalSize; 24 | 25 | public int isTracked; 26 | 27 | }; 28 | 29 | 30 | 31 | public class ARImageAnchor { 32 | 33 | private UnityARImageAnchorData imageAnchorData; 34 | 35 | public ARImageAnchor (UnityARImageAnchorData uiad) 36 | { 37 | imageAnchorData = uiad; 38 | } 39 | 40 | 41 | public string identifier { get { return Marshal.PtrToStringAuto(imageAnchorData.ptrIdentifier); } } 42 | public bool isTracked { get {return imageAnchorData.isTracked != 0; } } 43 | 44 | public Matrix4x4 transform { 45 | get { 46 | Matrix4x4 matrix = new Matrix4x4 (); 47 | matrix.SetColumn (0, imageAnchorData.transform.column0); 48 | matrix.SetColumn (1, imageAnchorData.transform.column1); 49 | matrix.SetColumn (2, imageAnchorData.transform.column2); 50 | matrix.SetColumn (3, imageAnchorData.transform.column3); 51 | return matrix; 52 | } 53 | } 54 | 55 | public string referenceImageName { get { return Marshal.PtrToStringAuto(imageAnchorData.referenceImageNamePtr); } } 56 | 57 | public float referenceImagePhysicalSize { get { return imageAnchorData.referenceImagePhysicalSize; } } 58 | } 59 | 60 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARImageAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 888a393eca1cb4822ab6eb99ddaa0e9e 3 | timeCreated: 1517602605 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARKitDefines.h.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb098dfd51a5146d186aa9e1dbf3b436 3 | timeCreated: 1523480290 4 | licenseType: Pro 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 1 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 0 22 | settings: 23 | DefaultValueInitialized: true 24 | userData: 25 | assetBundleName: 26 | assetBundleVariant: 27 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARKitNativeObjectDetection.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67437c6ef9878443fad06dce00c3ee2d 3 | timeCreated: 1523480290 4 | licenseType: Pro 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 0 22 | settings: 23 | DefaultValueInitialized: true 24 | - first: 25 | iPhone: iOS 26 | second: 27 | enabled: 1 28 | settings: {} 29 | - first: 30 | tvOS: tvOS 31 | second: 32 | enabled: 1 33 | settings: {} 34 | userData: 35 | assetBundleName: 36 | assetBundleVariant: 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1f2e6c89195544de943f77cd419d81d 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARObjectAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20970700c094d433b93c5c92fca49947 3 | timeCreated: 1523482805 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a7917e69c7bc43ad8879cc6d58266fc 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARPlaneAnchorAlignment : long 6 | { 7 | /** A plane that is horizontal with respect to gravity. */ 8 | ARPlaneAnchorAlignmentHorizontal, 9 | 10 | /** A plane that is parallel with respect to gravity. */ 11 | ARPlaneAnchorAlignmentVertical 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8d5557085c2d4e3e8ac43f5694ea8c8 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARPoint 6 | { 7 | public double x; 8 | public double y; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91d28e0ba93314b2298e88a73bf448d3 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPointCloud.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 918654fc7d79746f8804ff2732ba5f5d 3 | timeCreated: 1523909207 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPointCloud.mm: -------------------------------------------------------------------------------- 1 | // Unity Technologies Inc (c) 2018 2 | // ARPointCloud.mm 3 | // Main implementation of ARKit plugin's ARPointCloud 4 | 5 | #include "ARKitDefines.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | int pointCloud_GetCount(const void* pointCloudPtr) 12 | { 13 | if (pointCloudPtr == nullptr) 14 | return 0; 15 | 16 | ARPointCloud* pointCloud = (__bridge ARPointCloud*)pointCloudPtr; 17 | 18 | return [pointCloud count]; 19 | } 20 | 21 | void* pointCloud_GetPointsPtr(const void* pointCloudPtr) 22 | { 23 | if (pointCloudPtr == nullptr) 24 | { 25 | return 0; 26 | } 27 | 28 | if (@available(iOS 11.0, *)) 29 | { 30 | ARPointCloud* pointCloud = (__bridge ARPointCloud*)pointCloudPtr; 31 | if (![pointCloud isKindOfClass:[ARPointCloud class]]) 32 | { 33 | return 0; 34 | } 35 | const vector_float3 *pointsPtr = [pointCloud points]; 36 | return (void*) pointsPtr; 37 | } 38 | else 39 | { 40 | // Fallback on earlier versions 41 | return 0; 42 | } 43 | } 44 | 45 | void* pointCloud_GetIdentifiersPtr(const void* pointCloudPtr) 46 | { 47 | if (pointCloudPtr == nullptr) 48 | return 0; 49 | 50 | ARPointCloud* pointCloud = (__bridge ARPointCloud*)pointCloudPtr; 51 | 52 | const UInt64 *identifiersPtr = [pointCloud identifiers]; 53 | 54 | return (void*) identifiersPtr; 55 | } 56 | #ifdef __cplusplus 57 | } 58 | #endif 59 | 60 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPointCloud.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2ebc344d4f0c4c7a9c449e01d9e8e2f 3 | timeCreated: 1523567805 4 | licenseType: Pro 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 0 22 | settings: 23 | DefaultValueInitialized: true 24 | - first: 25 | iPhone: iOS 26 | second: 27 | enabled: 1 28 | settings: {} 29 | - first: 30 | tvOS: tvOS 31 | second: 32 | enabled: 1 33 | settings: {} 34 | userData: 35 | assetBundleName: 36 | assetBundleVariant: 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARRect 6 | { 7 | public ARPoint origin; 8 | public ARSize size; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b78ac1873b934b6497aa4404b460655 3 | timeCreated: 1492120116 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARReferenceObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dff1e0a9aa6954cb1b2200e58010f164 3 | timeCreated: 1523905774 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ecd21425b31a46ef9abc90a0516e9a1 3 | timeCreated: 1492108287 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 2 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | data: 13 | first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | data: 19 | first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | data: 26 | first: 27 | iPhone: iOS 28 | second: 29 | enabled: 1 30 | settings: {} 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARSize 6 | { 7 | public double width; 8 | public double height; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c72e6d3d39c0b495ba3d40c3cbd3a8ca 3 | timeCreated: 1492114222 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 223ca11cf486046fe9c3740ee69b7a27 3 | timeCreated: 1493064086 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingQuality : long 6 | { 7 | /** The tracking quality is not available. */ 8 | ARTrackingQualityNotAvailable, 9 | 10 | /** The tracking quality is limited, relying only on the device's motion. */ 11 | ARTrackingQualityLimited, 12 | 13 | /** The tracking quality is poor. */ 14 | ARTrackingQualityPoor, 15 | 16 | /** The tracking quality is good. */ 17 | ARTrackingQualityGood 18 | 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70419166c9be04782bc37a66aa7ead0a 3 | timeCreated: 1492114222 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingState 6 | { 7 | /** Tracking is not available. */ 8 | ARTrackingStateNotAvailable, 9 | 10 | /** Tracking is limited. See tracking reason for details. */ 11 | ARTrackingStateLimited, 12 | 13 | /** Tracking is Normal. */ 14 | ARTrackingStateNormal, 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c8e21e94c4944a7eb5202db41d4bce0 3 | timeCreated: 1493767524 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingStateReason 6 | { 7 | /** Tracking is not limited. */ 8 | ARTrackingStateReasonNone, 9 | 10 | /** Tracking is limited due to initialization in progress. */ 11 | ARTrackingStateReasonInitializing, 12 | 13 | /** Tracking is limited due to a excessive motion of the camera. */ 14 | ARTrackingStateReasonExcessiveMotion, 15 | 16 | /** Tracking is limited due to a lack of features visible to the camera. */ 17 | ARTrackingStateReasonInsufficientFeatures, 18 | 19 | /** Tracking is limited due to a relocalization in progress. */ 20 | ARTrackingStateReasonRelocalizing, 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b76c532f89f25411ca5c1d82cd7a5367 3 | timeCreated: 1493767524 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARUserAnchor 6 | { 7 | 8 | public string identifier; 9 | 10 | /** 11 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 12 | */ 13 | public Matrix4x4 transform; 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8271a80f6d6245a4bf920bbe514bbc0 3 | timeCreated: 1500325731 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARVideoFormat.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System; 5 | using System.Runtime.InteropServices; 6 | using AOT; 7 | 8 | 9 | namespace UnityEngine.XR.iOS 10 | { 11 | 12 | public struct UnityARVideoFormat { 13 | public IntPtr videoFormatPtr; 14 | public float imageResolutionWidth; 15 | public float imageResolutionHeight; 16 | public int framesPerSecond; 17 | 18 | #if UNITY_EDITOR 19 | private static void EnumerateVideoFormats(VideoFormatEnumerator videoFormatEnumerator) 20 | { 21 | } 22 | private static void EnumerateFaceTrackingVideoFormats(VideoFormatEnumerator videoFormatEnumerator) 23 | { 24 | } 25 | #else 26 | [DllImport("__Internal")] 27 | private static extern void EnumerateVideoFormats(VideoFormatEnumerator videoFormatEnumerator); 28 | [DllImport("__Internal")] 29 | private static extern void EnumerateFaceTrackingVideoFormats(VideoFormatEnumerator videoFormatEnumerator); 30 | #endif 31 | 32 | static List videoFormatsList; 33 | 34 | public static List SupportedVideoFormats() 35 | { 36 | videoFormatsList = new List (); 37 | EnumerateVideoFormats (AddToVFList); 38 | 39 | return videoFormatsList; 40 | } 41 | 42 | public static List SupportedFaceTrackingVideoFormats() 43 | { 44 | videoFormatsList = new List (); 45 | EnumerateFaceTrackingVideoFormats(AddToVFList); 46 | 47 | return videoFormatsList; 48 | } 49 | 50 | [MonoPInvokeCallback(typeof(VideoFormatEnumerator))] 51 | private static void AddToVFList(UnityARVideoFormat newFormat) 52 | { 53 | Debug.Log ("New Format returned"); 54 | videoFormatsList.Add (newFormat); 55 | } 56 | 57 | } 58 | 59 | public delegate void VideoFormatEnumerator(UnityARVideoFormat videoFormat); 60 | 61 | 62 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARVideoFormat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d63d797765c124eb59e9ed66561bd129 3 | timeCreated: 1518217135 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARWorldMap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6ccdb980d3cc426fa6b8cd27bc9b963 3 | timeCreated: 1523481779 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARWorldMap.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e83709c0997c14c27964ea8736f5cbf1 3 | timeCreated: 1523567805 4 | licenseType: Pro 5 | PluginImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | - first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | - first: 19 | Editor: Editor 20 | second: 21 | enabled: 0 22 | settings: 23 | DefaultValueInitialized: true 24 | - first: 25 | iPhone: iOS 26 | second: 27 | enabled: 1 28 | settings: {} 29 | - first: 30 | tvOS: tvOS 31 | second: 32 | enabled: 1 33 | settings: {} 34 | userData: 35 | assetBundleName: 36 | assetBundleVariant: 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43900ad1460304627a359bed956a451d 3 | timeCreated: 1492795428 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9e3cccf742844401a584fdd294d0607 3 | folderAsset: yes 4 | timeCreated: 1492634328 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef7b8eec959eb4f1e9fa97bc86273848 3 | timeCreated: 1492634375 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57c2c07a0719d4fafab7a4f8a84d1767 3 | timeCreated: 1492634375 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6107a01f65b74c0093cf65fc9e9cfcc 3 | folderAsset: yes 4 | timeCreated: 1511229652 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources/UnityARKitPlugin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3872f00b440b04ca98de82d0fca32d68 3 | folderAsset: yes 4 | timeCreated: 1511229680 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources/UnityARKitPlugin/ARKitSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: efa163296ae7840cb80b9e3beb5f0857, type: 3} 12 | m_Name: ARKitSettings 13 | m_EditorClassIdentifier: 14 | m_ARKitUsesFacetracking: 0 15 | AppRequiresARKit: 0 16 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources/UnityARKitPlugin/ARKitSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: feb5449e416a346aaa320dd0a0188ade 3 | timeCreated: 1511224908 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 11400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/UnityARKitPluginSettings.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | /// 6 | /// Holds settings that are used to configure the Unity ARKit Plugin. 7 | /// 8 | [CreateAssetMenu(fileName = "ARKitSettings", menuName = "UnityARKitPlugin/Settings", order = 1)] 9 | public class UnityARKitPluginSettings : ScriptableObject { 10 | 11 | /// 12 | /// Toggles whether Facetracking for iPhone X (and later) is used. If enabled, provide a Privacy Policy for submission to AppStore. 13 | /// 14 | [Tooltip("Toggles whether Facetracking for iPhone X (and later) is used. If enabled, provide a Privacy Policy for submission to AppStore.")] 15 | public bool m_ARKitUsesFacetracking = false; 16 | 17 | /// 18 | /// Toggles whether ARKit is required for this app: will make app only downloadable by devices with ARKit support if enabled. 19 | /// 20 | [Tooltip("Toggles whether ARKit is required for this app: will make app only downloadable by devices with ARKit support if enabled.")] 21 | public bool AppRequiresARKit = false; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/UnityARKitPluginSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efa163296ae7840cb80b9e3beb5f0857 3 | timeCreated: 1511215177 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017, Unity Technologies 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /LICENSES/MIT_LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017, Unity Technologies 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /UnityPackageManager/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /docs/images/ARReferenceObjectAsset_creation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/docs/images/ARReferenceObjectAsset_creation.png -------------------------------------------------------------------------------- /docs/images/ARReferenceObject_FileShare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/docs/images/ARReferenceObject_FileShare.png -------------------------------------------------------------------------------- /docs/images/ARReferenceObject_Inspector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/docs/images/ARReferenceObject_Inspector.png -------------------------------------------------------------------------------- /docs/images/ARReferenceObjectsSetAsset_Inpsector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/docs/images/ARReferenceObjectsSetAsset_Inpsector.png -------------------------------------------------------------------------------- /docs/images/UnityTongueAndEyes.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/U3DC/Unity-ARKit-Plugin/ffc6894ce41329bccd348db1c285297c78d7fb4d/docs/images/UnityTongueAndEyes.gif --------------------------------------------------------------------------------