From 7e1b1ff9055f3f6d4d8e0bd9e5cda6f3465c2872 Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Thu, 3 Jun 2021 19:42:51 -0700 Subject: [PATCH] added wmr spatial mesh observer profile (#142) # XRTK - Mixed Reality Toolkit Pull Request ## Overview Added WMR spatial mesh observer profile ## Related Submodule Changes - https://github.com/XRTK/XRTK-Core/pull/848 --- Profiles~/SpatialAwarenessSystem.meta | 8 ++++++ ...xedRealitySpatialMeshObserverProfile.asset | 26 +++++++++++++++++++ ...alitySpatialMeshObserverProfile.asset.meta | 8 ++++++ ...RealityPlatformConfigurationsProfile.asset | 4 +-- 4 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 Profiles~/SpatialAwarenessSystem.meta create mode 100644 Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset create mode 100644 Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset.meta diff --git a/Profiles~/SpatialAwarenessSystem.meta b/Profiles~/SpatialAwarenessSystem.meta new file mode 100644 index 00000000..75302a80 --- /dev/null +++ b/Profiles~/SpatialAwarenessSystem.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9d252f5aa58f96b47a3cae73bcdd0ff0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset b/Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset new file mode 100644 index 00000000..5b2d6de3 --- /dev/null +++ b/Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset @@ -0,0 +1,26 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 68f87d1ac67141afaf834f81454c9aeb, type: 3} + m_Name: WindowsMixedRealitySpatialMeshObserverProfile + m_EditorClassIdentifier: + startupBehavior: 0 + observationExtents: {x: 3, y: 3, z: 3} + isStationaryObserver: 0 + updateInterval: 0.25 + physicsLayer: 31 + meshLevelOfDetail: 1 + meshRecalculateNormals: 1 + meshVisibleMaterial: {fileID: 2100000, guid: 58998db165b741089929938ea4d1b249, type: 2} + meshOcclusionMaterial: {fileID: 2100000, guid: 0062b17981f34cf18ad1f9060db0cb2b, + type: 2} + additionalComponents: [] + meshObjectPrefab: {fileID: 0} diff --git a/Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset.meta b/Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset.meta new file mode 100644 index 00000000..1790dbec --- /dev/null +++ b/Profiles~/SpatialAwarenessSystem/WindowsMixedRealitySpatialMeshObserverProfile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ccebe5391ffee2446ae581aacb2992a7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Profiles~/WindowsMixedRealityPlatformConfigurationsProfile.asset b/Profiles~/WindowsMixedRealityPlatformConfigurationsProfile.asset index 4cc665b4..aec3f0c8 100644 --- a/Profiles~/WindowsMixedRealityPlatformConfigurationsProfile.asset +++ b/Profiles~/WindowsMixedRealityPlatformConfigurationsProfile.asset @@ -47,7 +47,7 @@ MonoBehaviour: - instancedType: reference: f2e0d0ef-6393-4f96-90cc-df78ca1dc8a2 name: Windows Mixed Reality Hand Controller Data Provider - priority: 2 + priority: 3 platformEntries: runtimePlatforms: - reference: c838c4f5-a87e-48c7-8742-09a4d85fc3bc @@ -61,4 +61,4 @@ MonoBehaviour: runtimePlatforms: - reference: c838c4f5-a87e-48c7-8742-09a4d85fc3bc - reference: 7dc72b4e-34f6-4b26-afd7-cde0c51f83a3 - profile: {fileID: 0} + profile: {fileID: 11400000, guid: ccebe5391ffee2446ae581aacb2992a7, type: 2}