Commit ebb0b7d7 authored by Jérémy Lacoche's avatar Jérémy Lacoche
Browse files

First version Ok of IEEE VR demo with 3D scan, update of editor based on...

First version Ok of IEEE VR demo with 3D scan, update of editor based on graph, assets, launcher and disable update pose if needed
parent cff7afc4
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(AnchorTrackableReferenceNode))]
public class AnchorTrackableReferenceNodeEditor : Editor
{
     public override void OnInspectorGUI()
    {
        DrawDefaultInspector(); // Draw the default inspector

        AnchorTrackableReferenceNode myComponent = (AnchorTrackableReferenceNode)target;

        if (GUILayout.Button("Update pose from Visual"))
        {
            myComponent.EditorUpdatePose();
        }
    }

}
+11 −0
Original line number Diff line number Diff line
fileFormatVersion: 2
guid: 16b1175324ccf48d4abfb80c9b91d01e
MonoImporter:
  externalObjects: {}
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData: 
  assetBundleName: 
  assetBundleVariant: 
+6 −8
Original line number Diff line number Diff line
@@ -11,15 +11,13 @@ Material:
  m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
  m_Parent: {fileID: 0}
  m_ModifiedSerializedProperties: 0
  m_ValidKeywords:
  - _ALPHAPREMULTIPLY_ON
  m_ValidKeywords: []
  m_InvalidKeywords: []
  m_LightmapFlags: 4
  m_EnableInstancingVariants: 0
  m_DoubleSidedGI: 0
  m_CustomRenderQueue: 3000
  stringTagMap:
    RenderType: Transparent
  m_CustomRenderQueue: -1
  stringTagMap: {}
  disabledShaderPasses: []
  m_LockedProperties: 
  m_SavedProperties:
@@ -66,19 +64,19 @@ Material:
    - _BumpScale: 1
    - _Cutoff: 0.5
    - _DetailNormalMapScale: 1
    - _DstBlend: 10
    - _DstBlend: 0
    - _GlossMapScale: 1
    - _Glossiness: 0.5
    - _GlossyReflections: 1
    - _Metallic: 0
    - _Mode: 3
    - _Mode: 0
    - _OcclusionStrength: 1
    - _Parallax: 0.02
    - _SmoothnessTextureChannel: 0
    - _SpecularHighlights: 1
    - _SrcBlend: 1
    - _UVSec: 0
    - _ZWrite: 0
    - _ZWrite: 1
    m_Colors:
    - _Color: {r: 0.12549019, g: 1, b: 0.267452, a: 0.5882353}
    - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+6 −8
Original line number Diff line number Diff line
@@ -11,15 +11,13 @@ Material:
  m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
  m_Parent: {fileID: 0}
  m_ModifiedSerializedProperties: 0
  m_ValidKeywords:
  - _ALPHAPREMULTIPLY_ON
  m_ValidKeywords: []
  m_InvalidKeywords: []
  m_LightmapFlags: 4
  m_EnableInstancingVariants: 0
  m_DoubleSidedGI: 0
  m_CustomRenderQueue: 3000
  stringTagMap:
    RenderType: Transparent
  m_CustomRenderQueue: -1
  stringTagMap: {}
  disabledShaderPasses: []
  m_LockedProperties: 
  m_SavedProperties:
@@ -66,19 +64,19 @@ Material:
    - _BumpScale: 1
    - _Cutoff: 0.5
    - _DetailNormalMapScale: 1
    - _DstBlend: 10
    - _DstBlend: 0
    - _GlossMapScale: 1
    - _Glossiness: 0.5
    - _GlossyReflections: 1
    - _Metallic: 0
    - _Mode: 3
    - _Mode: 0
    - _OcclusionStrength: 1
    - _Parallax: 0.02
    - _SmoothnessTextureChannel: 0
    - _SpecularHighlights: 1
    - _SrcBlend: 1
    - _UVSec: 0
    - _ZWrite: 0
    - _ZWrite: 1
    m_Colors:
    - _Color: {r: 1, g: 0.12549019, b: 0.96812713, a: 0.40784314}
    - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+7 −0
Original line number Diff line number Diff line
fileFormatVersion: 2
guid: 33e81fffffe314e16a99905b9266d582
DefaultImporter:
  externalObjects: {}
  userData: 
  assetBundleName: 
  assetBundleVariant: 
Loading