Debian Codegraph @

examples/viewport_and_scenes/multiple_viewports/data/gameviewmain.castle-user-interface

raw
1 {
2 "$$ClassName" : "TCastleUserInterface",
3 "FullSize" : true,
4 "Name" : "Group1",
5 "$Children" : [
6 {
7 "$$ClassName" : "TCastleRectangleControl",
8 "ColorPersistent" : {
9 "$$ClassName" : "TCastleColorPersistent",
10 "Blue" : 2.7450981736183167E-001,
11 "Green" : 2.7450981736183167E-001,
12 "Name" : "",
13 "Red" : 2.7450981736183167E-001
14 },
15 "FullSize" : true,
16 "Name" : "RectangleControl1"
17 },
18 {
19 "$$ClassName" : "TCastleUserInterface",
20 "Border" : {
21 "$$ClassName" : "TBorder",
22 "Bottom" : 5.0000000000000000E+001
23 },
24 "FullSize" : true,
25 "Name" : "GroupViewports",
26 "$Children" : [
27 {
28 "$$ClassName" : "TCastleImageControl",
29 "Content" : {
30 "$$ClassName" : "TCastleImagePersistent",
31 "ColorPersistent" : {
32 "$$ClassName" : "TCastleColorPersistent",
33 "Alpha" : 1.0000000149011612E-001,
34 "Name" : ""
35 },
36 "URL" : "castle-data:/background.png"
37 },
38 "FullSize" : true,
39 "Name" : "ImageBackground",
40 "Stretch" : true
41 },
42 {
43 "$$ClassName" : "TCastleViewport",
44 "Border" : {
45 "$$ClassName" : "TBorder",
46 "Bottom" : 1.0000000000000000E+001,
47 "Left" : 1.0000000000000000E+001,
48 "Right" : 5.0000000000000000E+000,
49 "Top" : 5.0000000000000000E+000
50 },
51 "Camera" : "CameraTransparent",
52 "HeightFraction" : 5.0000000000000000E-001,
53 "Items" : {
54 "$$ClassName" : "TCastleRootTransform",
55 "Name" : "Items",
56 "PhysicsProperties" : {
57 "$$ClassName" : "TPhysicsProperties",
58 "Name" : "PhysicsProperties"
59 }
60 },
61 "Name" : "ViewportTransparent",
62 "Transparent" : true,
63 "WidthFraction" : 5.0000000000000000E-001,
64 "$Children" : [
65 {
66 "$$ClassName" : "TCastleLabel",
67 "ColorPersistent" : {
68 "$$ClassName" : "TCastleColorPersistent",
69 "Green" : 1.0000000000000000E+000,
70 "Name" : "",
71 "Red" : 1.0000000000000000E+000
72 },
73 "HorizontalAnchorDelta" : 2.0000000000000000E+001,
74 "Name" : "Label4",
75 "Text" : [
76 "Transparent Viewport"
77 ],
78 "VerticalAnchorDelta" : 1.0000000000000000E+001
79 },
80 {
81 "$$ClassName" : "TCastleWalkNavigation",
82 "Gravity" : false,
83 "Name" : "WalkNavigation2"
84 }
85 ]
86 },
87 {
88 "$$ClassName" : "TCastleViewport",
89 "Border" : {
90 "$$ClassName" : "TBorder",
91 "Bottom" : 1.0000000000000000E+001,
92 "Left" : 5.0000000000000000E+000,
93 "Right" : 1.0000000000000000E+001,
94 "Top" : 5.0000000000000000E+000
95 },
96 "Camera" : "CameraExamine",
97 "HeightFraction" : 5.0000000000000000E-001,
98 "HorizontalAnchorParent" : "hpRight",
99 "HorizontalAnchorSelf" : "hpRight",
100 "Items" : {
101 "$$ClassName" : "TCastleRootTransform",
102 "Name" : "Items",
103 "PhysicsProperties" : {
104 "$$ClassName" : "TPhysicsProperties",
105 "Name" : "PhysicsProperties"
106 }
107 },
108 "Name" : "ViewportExamine",
109 "WidthFraction" : 5.0000000000000000E-001,
110 "$Children" : [
111 {
112 "$$ClassName" : "TCastleExamineNavigation",
113 "Name" : "ExamineNavigation1"
114 },
115 {
116 "$$ClassName" : "TCastleLabel",
117 "ColorPersistent" : {
118 "$$ClassName" : "TCastleColorPersistent",
119 "Green" : 1.0000000000000000E+000,
120 "Name" : "",
121 "Red" : 1.0000000000000000E+000
122 },
123 "HorizontalAnchorDelta" : -1.0000000000000000E+001,
124 "HorizontalAnchorParent" : "hpRight",
125 "HorizontalAnchorSelf" : "hpRight",
126 "Name" : "Label3",
127 "Text" : [
128 "Viewport with Examine navigation"
129 ],
130 "VerticalAnchorDelta" : 1.0000000000000000E+001
131 }
132 ]
133 },
134 {
135 "$$ClassName" : "TCastleViewport",
136 "Border" : {
137 "$$ClassName" : "TBorder",
138 "Bottom" : 5.0000000000000000E+000,
139 "Left" : 5.0000000000000000E+000,
140 "Right" : 1.0000000000000000E+001,
141 "Top" : 1.0000000000000000E+001
142 },
143 "Camera" : "CameraScreenEffect",
144 "HeightFraction" : 5.0000000000000000E-001,
145 "HorizontalAnchorParent" : "hpRight",
146 "HorizontalAnchorSelf" : "hpRight",
147 "Items" : {
148 "$$ClassName" : "TCastleRootTransform",
149 "Name" : "Items",
150 "PhysicsProperties" : {
151 "$$ClassName" : "TPhysicsProperties",
152 "Name" : "PhysicsProperties"
153 }
154 },
155 "Name" : "ViewportScreenEffect",
156 "VerticalAnchorParent" : "vpTop",
157 "VerticalAnchorSelf" : "vpTop",
158 "WidthFraction" : 5.0000000000000000E-001,
159 "$Children" : [
160 {
161 "$$ClassName" : "TCastleLabel",
162 "ColorPersistent" : {
163 "$$ClassName" : "TCastleColorPersistent",
164 "Green" : 1.0000000000000000E+000,
165 "Name" : "",
166 "Red" : 1.0000000000000000E+000
167 },
168 "HorizontalAnchorDelta" : -1.0000000000000000E+001,
169 "HorizontalAnchorParent" : "hpRight",
170 "HorizontalAnchorSelf" : "hpRight",
171 "Name" : "Label1",
172 "Text" : [
173 "Viewport with a Screen Effect"
174 ],
175 "VerticalAnchorDelta" : 1.0000000000000000E+001
176 },
177 {
178 "$$ClassName" : "TCastleWalkNavigation",
179 "Gravity" : false,
180 "Name" : "WalkNavigation3"
181 }
182 ]
183 },
184 {
185 "$$ClassName" : "TCastleViewport",
186 "Border" : {
187 "$$ClassName" : "TBorder",
188 "Bottom" : 5.0000000000000000E+000,
189 "Left" : 1.0000000000000000E+001,
190 "Right" : 5.0000000000000000E+000,
191 "Top" : 1.0000000000000000E+001
192 },
193 "Camera" : "CameraNormal",
194 "HeightFraction" : 5.0000000000000000E-001,
195 "Items" : {
196 "$$ClassName" : "TCastleRootTransform",
197 "MainScene" : "MainScene",
198 "Name" : "Items",
199 "PhysicsProperties" : {
200 "$$ClassName" : "TPhysicsProperties",
201 "Name" : "PhysicsProperties"
202 },
203 "$Children" : [
204 {
205 "$$ClassName" : "TCastleScene",
206 "ExposeTransforms" : [
207 ],
208 "Name" : "MainScene",
209 "ProcessEvents" : true,
210 "RenderOptions" : {
211 "$$ClassName" : "TCastleScene.TSceneRenderOptions",
212 "Name" : "RenderOptions"
213 },
214 "Spatial" : [
215 "ssRendering",
216 "ssDynamicCollisions"
217 ],
218 "URL" : "castle-data:/bridge_level/bridge_final.x3dv"
219 },
220 {
221 "$$ClassName" : "TCastleScene",
222 "ExposeTransforms" : [
223 ],
224 "Name" : "SceneParticles",
225 "ProcessEvents" : true,
226 "RenderOptions" : {
227 "$$ClassName" : "TCastleScene.TSceneRenderOptions",
228 "Name" : "RenderOptions"
229 },
230 "RotationPersistent" : {
231 "$$ClassName" : "TCastleVector4Persistent",
232 "Name" : "",
233 "W" : 1.5461063385009766E+000,
234 "X" : -1.0000000000000000E+000
235 },
236 "ScalePersistent" : {
237 "$$ClassName" : "TCastleVector3Persistent",
238 "Name" : "",
239 "X" : 5.1135158538818359E-001,
240 "Y" : 5.1135158538818359E-001,
241 "Z" : 5.1135158538818359E-001
242 },
243 "Spatial" : [
244 "ssRendering",
245 "ssDynamicCollisions"
246 ],
247 "TranslationPersistent" : {
248 "$$ClassName" : "TCastleVector3Persistent",
249 "Name" : "",
250 "Y" : -5.8748869895935059E+000,
251 "Z" : -3.2223803997039795E+000
252 },
253 "URL" : "castle-data:/castle_script_particles.x3dv"
254 },
255 {
256 "$$ClassName" : "TCastleScene",
257 "AutoAnimation" : "animation",
258 "ExposeTransforms" : [
259 ],
260 "Name" : "SceneRaptor",
261 "ProcessEvents" : true,
262 "RenderOptions" : {
263 "$$ClassName" : "TCastleScene.TSceneRenderOptions",
264 "Name" : "RenderOptions"
265 },
266 "Spatial" : [
267 "ssRendering",
268 "ssDynamicCollisions"
269 ],
270 "TranslationPersistent" : {
271 "$$ClassName" : "TCastleVector3Persistent",
272 "Name" : "",
273 "X" : -1.3659042358398438E+001,
274 "Y" : -4.4340143203735352E+000,
275 "Z" : -4.5631856918334961E+000
276 },
277 "URL" : "castle-data:/raptor.castle-anim-frames"
278 },
279 {
280 "$$ClassName" : "TCastleCamera",
281 "Name" : "CameraNormal",
282 "Orthographic" : {
283 "$$ClassName" : "TCastleOrthographic",
284 "Name" : "Orthographic"
285 },
286 "Perspective" : {
287 "$$ClassName" : "TCastlePerspective",
288 "Name" : "Perspective"
289 },
290 "ProjectionNear" : 1.5000000596046448E-001,
291 "RotationPersistent" : {
292 "$$ClassName" : "TCastleVector4Persistent",
293 "Name" : "",
294 "W" : 1.2975844144821167E+000,
295 "X" : 2.1754689514636993E-002,
296 "Y" : -9.9962753057479858E-001,
297 "Z" : 1.6485713422298431E-002
298 },
299 "TranslationPersistent" : {
300 "$$ClassName" : "TCastleVector3Persistent",
301 "Name" : "",
302 "X" : -4.6300395965576172E+001,
303 "Y" : -4.4862656593322754E+000,
304 "Z" : 4.8882923126220703E+000
305 }
306 },
307 {
308 "$$ClassName" : "TCastleCamera",
309 "Name" : "CameraScreenEffect",
310 "Orthographic" : {
311 "$$ClassName" : "TCastleOrthographic",
312 "Name" : "Orthographic"
313 },
314 "Perspective" : {
315 "$$ClassName" : "TCastlePerspective",
316 "Name" : "Perspective"
317 },
318 "RotationPersistent" : {
319 "$$ClassName" : "TCastleVector4Persistent",
320 "Name" : "",
321 "Z" : 1.0000000000000000E+000
322 },
323 "TranslationPersistent" : {
324 "$$ClassName" : "TCastleVector3Persistent",
325 "Name" : "",
326 "Z" : 1.0000000000000000E+001
327 }
328 },
329 {
330 "$$ClassName" : "TCastleCamera",
331 "Name" : "CameraExamine",
332 "Orthographic" : {
333 "$$ClassName" : "TCastleOrthographic",
334 "Name" : "Orthographic"
335 },
336 "Perspective" : {
337 "$$ClassName" : "TCastlePerspective",
338 "Name" : "Perspective"
339 },
340 "RotationPersistent" : {
341 "$$ClassName" : "TCastleVector4Persistent",
342 "Name" : "",
343 "W" : 2.3150447010993958E-001,
344 "X" : -8.0873876810073853E-001,
345 "Y" : -5.5259770154953003E-001,
346 "Z" : 2.0143850147724152E-001
347 },
348 "ScalePersistent" : {
349 "$$ClassName" : "TCastleVector3Persistent",
350 "Name" : "",
351 "X" : 9.9999994039535522E-001,
352 "Y" : 9.9999994039535522E-001
353 },
354 "TranslationPersistent" : {
355 "$$ClassName" : "TCastleVector3Persistent",
356 "Name" : "",
357 "X" : -1.3118195533752441E+000,
358 "Y" : 1.8256732225418091E+000,
359 "Z" : 9.7440071105957031E+000
360 }
361 },
362 {
363 "$$ClassName" : "TCastleCamera",
364 "Name" : "CameraTransparent",
365 "Orthographic" : {
366 "$$ClassName" : "TCastleOrthographic",
367 "Name" : "Orthographic"
368 },
369 "Perspective" : {
370 "$$ClassName" : "TCastlePerspective",
371 "Name" : "Perspective"
372 },
373 "RotationPersistent" : {
374 "$$ClassName" : "TCastleVector4Persistent",
375 "Name" : "",
376 "Z" : 1.0000000000000000E+000
377 },
378 "TranslationPersistent" : {
379 "$$ClassName" : "TCastleVector3Persistent",
380 "Name" : "",
381 "Z" : 1.0000000000000000E+001
382 }
383 }
384 ]
385 },
386 "Name" : "ViewportNormal",
387 "VerticalAnchorParent" : "vpTop",
388 "VerticalAnchorSelf" : "vpTop",
389 "WidthFraction" : 5.0000000000000000E-001,
390 "$Children" : [
391 {
392 "$$ClassName" : "TCastleWalkNavigation",
393 "Name" : "WalkNavigation1"
394 },
395 {
396 "$$ClassName" : "TCastleLabel",
397 "ColorPersistent" : {
398 "$$ClassName" : "TCastleColorPersistent",
399 "Green" : 1.0000000000000000E+000,
400 "Name" : "",
401 "Red" : 1.0000000000000000E+000
402 },
403 "HorizontalAnchorDelta" : 1.0000000000000000E+001,
404 "Name" : "Label2",
405 "Text" : [
406 "Viewport with normal display.",
407 "Also sets MainCamera, so it controls Headlight."
408 ],
409 "VerticalAnchorDelta" : 1.0000000000000000E+001
410 }
411 ]
412 }
413 ]
414 },
415 {
416 "$$ClassName" : "TCastleLabel",
417 "ColorPersistent" : {
418 "$$ClassName" : "TCastleColorPersistent",
419 "Green" : 1.0000000000000000E+000,
420 "Name" : "",
421 "Red" : 1.0000000000000000E+000
422 },
423 "FontSize" : 2.0000000000000000E+001,
424 "HorizontalAnchorDelta" : -2.0000000000000000E+001,
425 "HorizontalAnchorParent" : "hpRight",
426 "HorizontalAnchorSelf" : "hpRight",
427 "Name" : "LabelFps",
428 "Text" : [
429 "FPS: xxx"
430 ],
431 "VerticalAnchorDelta" : -2.0000000000000000E+001,
432 "VerticalAnchorParent" : "vpTop",
433 "VerticalAnchorSelf" : "vpTop"
434 },
435 {
436 "$$ClassName" : "TCastleButton",
437 "Caption" : "Open Scene...",
438 "CustomBackgroundDisabled" : {
439 "$$ClassName" : "TCastleImagePersistent"
440 },
441 "CustomBackgroundFocused" : {
442 "$$ClassName" : "TCastleImagePersistent"
443 },
444 "CustomBackgroundNormal" : {
445 "$$ClassName" : "TCastleImagePersistent"
446 },
447 "CustomBackgroundPressed" : {
448 "$$ClassName" : "TCastleImagePersistent"
449 },
450 "HorizontalAnchorDelta" : -1.0000000000000000E+001,
451 "HorizontalAnchorParent" : "hpRight",
452 "HorizontalAnchorSelf" : "hpRight",
453 "Image" : {
454 "$$ClassName" : "TCastleImagePersistent"
455 },
456 "Name" : "ButtonOpen",
457 "VerticalAnchorDelta" : 1.0000000000000000E+001
458 }
459 ]
460 }