Skip to content

Commit

Permalink
manual placement has been added
Browse files Browse the repository at this point in the history
  • Loading branch information
cawke committed Oct 25, 2023
1 parent 285dccf commit a134a32
Show file tree
Hide file tree
Showing 52 changed files with 3,794 additions and 551 deletions.
98 changes: 98 additions & 0 deletions Assets/MirageXR/Common/Resources/AR/Prefabs/AR Anchor.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,107 @@ Transform:
- {fileID: 4209237128822544}
- {fileID: 4011343239704628}
- {fileID: 4919992784813117573}
- {fileID: 6482351537223522476}
m_Father: {fileID: 4940852310305428}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &3875249028393035889
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6482351537223522476}
- component: {fileID: 4978372573031865161}
- component: {fileID: 8150403970241430669}
- component: {fileID: 2166564959296956673}
m_Layer: 0
m_Name: Sphere
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6482351537223522476
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3875249028393035889}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.75, y: 0.75, z: 0.75}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5592926836742763379}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4978372573031865161
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3875249028393035889}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &8150403970241430669
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3875249028393035889}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!135 &2166564959296956673
SphereCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3875249028393035889}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &9089492096723985690
GameObject:
m_ObjectHideFlags: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,4 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_colorDefault: {r: 1, g: 1, b: 1, a: 0.7}
_colorFloor: {r: 0.44, g: 0.22, b: 0.04, a: 0.7}
_isDebugPlane: 0
_colorFloor: {r: 0.61130565, g: 0.9056604, b: 0.55108577, a: 0.7}
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_colorDefault: {r: 1, g: 1, b: 1, a: 0.7}
_colorFloor: {r: 0.03, g: 1, b: 0.09, a: 0.7}
_colorFloor: {r: 0.49049792, g: 1, b: 0.4198113, a: 0.7490196}
89 changes: 69 additions & 20 deletions Assets/MirageXR/Common/Scenes/Start.unity
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 10
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &502
MonoBehaviour:
Expand Down Expand Up @@ -308,7 +308,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 7
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &92586981
MonoBehaviour:
Expand Down Expand Up @@ -369,7 +369,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 4
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &383528544
GameObject:
Expand Down Expand Up @@ -456,7 +456,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 8
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &517222969
MonoBehaviour:
Expand Down Expand Up @@ -488,6 +488,8 @@ MonoBehaviour:
position:
rotation:
scale: 0
positionLock: 0
billboarded: 1
duration: 0
guide: 0
_helpSelectionPopup: {fileID: 5322029663912086542, guid: ce6c1efdd8b1ca34aab20e8018664f11,
Expand Down Expand Up @@ -543,18 +545,8 @@ MonoBehaviour:
_forceManagerType: 0
_prefabARFoundationAnchor: {fileID: 1362899771367802, guid: 3403fa35f0b1e1d47932c98fae4c8789,
type: 3}
_prefabARFoundationPlane: {fileID: 1585201990951412, guid: 0d9e1f0e794928f49aee189d66f1e4a6,
type: 3}
_prefabEditorAnchor: {fileID: 1362899771367802, guid: 3403fa35f0b1e1d47932c98fae4c8789,
type: 3}
_prefabEditorPlane: {fileID: 4068327573183295800, guid: 9540ea72376a449458b8522ecc456196,
type: 3}
_onDetectionEnabled:
m_PersistentCalls:
m_Calls: []
_onDetectionDisabled:
m_PersistentCalls:
m_Calls: []
--- !u!4 &636839176 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6061520891645277162, guid: b20febc21a242b143aa20ea181ba5e8e,
Expand Down Expand Up @@ -603,7 +595,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 11
m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &802172366
GameObject:
Expand Down Expand Up @@ -635,7 +627,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 6
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &802172368
MonoBehaviour:
Expand Down Expand Up @@ -1008,7 +1000,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1139113737
MonoBehaviour:
Expand Down Expand Up @@ -1109,7 +1101,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 9
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1263153153
MonoBehaviour:
Expand Down Expand Up @@ -1249,6 +1241,7 @@ MonoBehaviour:
_imageTargetManager: {fileID: 383528546}
_calibrationManager: {fileID: 1209410220}
_floorManager: {fileID: 547987041}
_planeManager: {fileID: 1942155610}
_pointCloudManager: {fileID: 1139113737}
_brandManager: {fileID: 802172368}
_gridManager: {fileID: 141412590}
Expand All @@ -1267,6 +1260,7 @@ Transform:
- {fileID: 383528545}
- {fileID: 1209410221}
- {fileID: 547987040}
- {fileID: 1942155609}
- {fileID: 1139113736}
- {fileID: 141412591}
- {fileID: 1980728072}
Expand Down Expand Up @@ -1301,7 +1295,7 @@ PrefabInstance:
- target: {fileID: 7085513642986947666, guid: 6913f3715d997c84e8d04d5e256fc233,
type: 3}
propertyPath: m_RootOrder
value: 12
value: 13
objectReference: {fileID: 0}
- target: {fileID: 7085513642986947666, guid: 6913f3715d997c84e8d04d5e256fc233,
type: 3}
Expand Down Expand Up @@ -1361,6 +1355,61 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 1901844725}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1942155608
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1942155609}
- component: {fileID: 1942155610}
m_Layer: 0
m_Name: PlaneManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1942155609
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1942155608}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1888399833}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1942155610
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1942155608}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 64ef31f9a2613894d8d6b9efcfdaa9bf, type: 3}
m_Name:
m_EditorClassIdentifier:
_forceManagerType: 0
_prefabARFoundationPlane: {fileID: 1585201990951412, guid: 0d9e1f0e794928f49aee189d66f1e4a6,
type: 3}
_prefabEditorPlane: {fileID: 4068327573183295800, guid: 9540ea72376a449458b8522ecc456196,
type: 3}
_onDetectionEnabled:
m_PersistentCalls:
m_Calls: []
_onDetectionDisabled:
m_PersistentCalls:
m_Calls: []
--- !u!4 &1980728072 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8856608566303270418, guid: 380bb3c2508c4473aec1d2fcb48cce6f,
Expand Down Expand Up @@ -1446,7 +1495,7 @@ PrefabInstance:
- target: {fileID: 8856608566303270418, guid: 380bb3c2508c4473aec1d2fcb48cce6f,
type: 3}
propertyPath: m_RootOrder
value: 5
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8856608566303270418, guid: 380bb3c2508c4473aec1d2fcb48cce6f,
type: 3}
Expand Down
Loading

0 comments on commit a134a32

Please sign in to comment.