Skip to content

Commit c5e9178

Browse files
toddwiltoddwil
authored andcommitted
Added an mesh cursor with input feedback. This cursor resembles the shell cursor.
1 parent dc022b5 commit c5e9178

File tree

12 files changed

+1174
-0
lines changed

12 files changed

+1174
-0
lines changed
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_PrefabParentObject: {fileID: 0}
8+
m_PrefabInternal: {fileID: 0}
9+
m_Name: MeshCursorEdges
10+
m_Shader: {fileID: 4800000, guid: 30a212a88e1063a428c85e50b1e427f2, type: 3}
11+
m_ShaderKeywords: _EMISSION
12+
m_LightmapFlags: 1
13+
m_CustomRenderQueue: -1
14+
stringTagMap: {}
15+
m_SavedProperties:
16+
serializedVersion: 2
17+
m_TexEnvs:
18+
- first:
19+
name: _BumpMap
20+
second:
21+
m_Texture: {fileID: 0}
22+
m_Scale: {x: 1, y: 1}
23+
m_Offset: {x: 0, y: 0}
24+
- first:
25+
name: _DetailAlbedoMap
26+
second:
27+
m_Texture: {fileID: 0}
28+
m_Scale: {x: 1, y: 1}
29+
m_Offset: {x: 0, y: 0}
30+
- first:
31+
name: _DetailMask
32+
second:
33+
m_Texture: {fileID: 0}
34+
m_Scale: {x: 1, y: 1}
35+
m_Offset: {x: 0, y: 0}
36+
- first:
37+
name: _DetailNormalMap
38+
second:
39+
m_Texture: {fileID: 0}
40+
m_Scale: {x: 1, y: 1}
41+
m_Offset: {x: 0, y: 0}
42+
- first:
43+
name: _EmissionMap
44+
second:
45+
m_Texture: {fileID: 0}
46+
m_Scale: {x: 1, y: 1}
47+
m_Offset: {x: 0, y: 0}
48+
- first:
49+
name: _MainTex
50+
second:
51+
m_Texture: {fileID: 0}
52+
m_Scale: {x: 1, y: 1}
53+
m_Offset: {x: 0, y: 0}
54+
- first:
55+
name: _MetallicGlossMap
56+
second:
57+
m_Texture: {fileID: 0}
58+
m_Scale: {x: 1, y: 1}
59+
m_Offset: {x: 0, y: 0}
60+
- first:
61+
name: _OcclusionMap
62+
second:
63+
m_Texture: {fileID: 0}
64+
m_Scale: {x: 1, y: 1}
65+
m_Offset: {x: 0, y: 0}
66+
- first:
67+
name: _ParallaxMap
68+
second:
69+
m_Texture: {fileID: 0}
70+
m_Scale: {x: 1, y: 1}
71+
m_Offset: {x: 0, y: 0}
72+
m_Floats:
73+
- first:
74+
name: _BumpScale
75+
second: 1
76+
- first:
77+
name: _ColorMask
78+
second: 15
79+
- first:
80+
name: _Cutoff
81+
second: 0.5
82+
- first:
83+
name: _DetailNormalMapScale
84+
second: 1
85+
- first:
86+
name: _DstBlend
87+
second: 0
88+
- first:
89+
name: _GlossMapScale
90+
second: 1
91+
- first:
92+
name: _Glossiness
93+
second: 0.5
94+
- first:
95+
name: _GlossyReflections
96+
second: 1
97+
- first:
98+
name: _Metallic
99+
second: 0
100+
- first:
101+
name: _Mode
102+
second: 0
103+
- first:
104+
name: _OcclusionStrength
105+
second: 1
106+
- first:
107+
name: _Parallax
108+
second: 0.02
109+
- first:
110+
name: _SmoothnessTextureChannel
111+
second: 0
112+
- first:
113+
name: _SpecularHighlights
114+
second: 1
115+
- first:
116+
name: _SrcBlend
117+
second: 1
118+
- first:
119+
name: _Stencil
120+
second: 0
121+
- first:
122+
name: _StencilComp
123+
second: 8
124+
- first:
125+
name: _StencilOp
126+
second: 0
127+
- first:
128+
name: _StencilReadMask
129+
second: 255
130+
- first:
131+
name: _StencilWriteMask
132+
second: 255
133+
- first:
134+
name: _UVSec
135+
second: 0
136+
- first:
137+
name: _ZWrite
138+
second: 1
139+
m_Colors:
140+
- first:
141+
name: _Color
142+
second: {r: 0.5514706, g: 0.5514706, b: 0.5514706, a: 1}
143+
- first:
144+
name: _EmissionColor
145+
second: {r: 0, g: 0, b: 0, a: 1}

Assets/HoloToolkit/Input/Materials/MeshCursorEdges.mat.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_PrefabParentObject: {fileID: 0}
8+
m_PrefabInternal: {fileID: 0}
9+
m_Name: MeshCursorFaces
10+
m_Shader: {fileID: 4800000, guid: 30a212a88e1063a428c85e50b1e427f2, type: 3}
11+
m_ShaderKeywords: _EMISSION _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF _USEMAINTEX_ON
12+
m_LightmapFlags: 1
13+
m_CustomRenderQueue: -1
14+
stringTagMap: {}
15+
m_SavedProperties:
16+
serializedVersion: 2
17+
m_TexEnvs:
18+
- first:
19+
name: _BumpMap
20+
second:
21+
m_Texture: {fileID: 0}
22+
m_Scale: {x: 1, y: 1}
23+
m_Offset: {x: 0, y: 0}
24+
- first:
25+
name: _DetailAlbedoMap
26+
second:
27+
m_Texture: {fileID: 0}
28+
m_Scale: {x: 1, y: 1}
29+
m_Offset: {x: 0, y: 0}
30+
- first:
31+
name: _DetailMask
32+
second:
33+
m_Texture: {fileID: 0}
34+
m_Scale: {x: 1, y: 1}
35+
m_Offset: {x: 0, y: 0}
36+
- first:
37+
name: _DetailNormalMap
38+
second:
39+
m_Texture: {fileID: 0}
40+
m_Scale: {x: 1, y: 1}
41+
m_Offset: {x: 0, y: 0}
42+
- first:
43+
name: _EmissionMap
44+
second:
45+
m_Texture: {fileID: 0}
46+
m_Scale: {x: 1, y: 1}
47+
m_Offset: {x: 0, y: 0}
48+
- first:
49+
name: _EmissionTex
50+
second:
51+
m_Texture: {fileID: 0}
52+
m_Scale: {x: 1, y: 1}
53+
m_Offset: {x: 0, y: 0}
54+
- first:
55+
name: _MainTex
56+
second:
57+
m_Texture: {fileID: 0}
58+
m_Scale: {x: 1, y: 1}
59+
m_Offset: {x: 0, y: 0}
60+
- first:
61+
name: _MetallicGlossMap
62+
second:
63+
m_Texture: {fileID: 0}
64+
m_Scale: {x: 1, y: 1}
65+
m_Offset: {x: 0, y: 0}
66+
- first:
67+
name: _OcclusionMap
68+
second:
69+
m_Texture: {fileID: 0}
70+
m_Scale: {x: 1, y: 1}
71+
m_Offset: {x: 0, y: 0}
72+
- first:
73+
name: _ParallaxMap
74+
second:
75+
m_Texture: {fileID: 0}
76+
m_Scale: {x: 1, y: 1}
77+
m_Offset: {x: 0, y: 0}
78+
m_Floats:
79+
- first:
80+
name: _BumpScale
81+
second: 1
82+
- first:
83+
name: _ColorMask
84+
second: 255
85+
- first:
86+
name: _ColorWriteMask
87+
second: 15
88+
- first:
89+
name: _Cull
90+
second: 2
91+
- first:
92+
name: _Cutoff
93+
second: 0.5
94+
- first:
95+
name: _DetailNormalMapScale
96+
second: 1
97+
- first:
98+
name: _DstBlend
99+
second: 0
100+
- first:
101+
name: _GlossMapScale
102+
second: 1
103+
- first:
104+
name: _Glossiness
105+
second: 0
106+
- first:
107+
name: _GlossyReflections
108+
second: 0
109+
- first:
110+
name: _Metallic
111+
second: 0
112+
- first:
113+
name: _Mode
114+
second: 0
115+
- first:
116+
name: _OcclusionStrength
117+
second: 1
118+
- first:
119+
name: _Parallax
120+
second: 0.02
121+
- first:
122+
name: _SmoothnessTextureChannel
123+
second: 0
124+
- first:
125+
name: _SpecularHighlights
126+
second: 0
127+
- first:
128+
name: _SrcBlend
129+
second: 1
130+
- first:
131+
name: _Stencil
132+
second: 0
133+
- first:
134+
name: _StencilComp
135+
second: 8
136+
- first:
137+
name: _StencilOp
138+
second: 0
139+
- first:
140+
name: _StencilReadMask
141+
second: 0
142+
- first:
143+
name: _StencilWriteMask
144+
second: 0
145+
- first:
146+
name: _UVSec
147+
second: 0
148+
- first:
149+
name: _UseColor
150+
second: 0
151+
- first:
152+
name: _UseEmissionTex
153+
second: 0
154+
- first:
155+
name: _UseMainTex
156+
second: 1
157+
- first:
158+
name: _ZTest
159+
second: 4
160+
- first:
161+
name: _ZWrite
162+
second: 1
163+
m_Colors:
164+
- first:
165+
name: _Color
166+
second: {r: 1, g: 1, b: 1, a: 1}
167+
- first:
168+
name: _EmissionColor
169+
second: {r: 0.47794116, g: 0.47794116, b: 0.47794116, a: 1}

Assets/HoloToolkit/Input/Materials/MeshCursorFaces.mat.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
46.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)