File tree Expand file tree Collapse file tree 1 file changed +19
-24
lines changed
Samples/Islands/DrawingIsland/DrawingCsTestApp Expand file tree Collapse file tree 1 file changed +19
-24
lines changed Original file line number Diff line number Diff line change 28
28
siteBridge . ResizePolicy = ContentSizePolicy . ResizeContentToParentWindow ;
29
29
siteBridge . Show ( ) ;
30
30
31
- if ( args . Contains ( "Lottie" ) )
32
- {
33
- // LottieIsland
34
- var lottie = LottieIslandScenario . CreateLottieIsland ( compositor ) ;
35
- siteBridge . Connect ( lottie . Island ) ;
36
- }
37
- else if ( args . Contains ( "Duck" ) )
38
- {
39
- // SceneNodeIsland
40
- var island = DuckScenario . CreateIsland ( compositor ) ;
41
- siteBridge . Connect ( island ) ;
42
- }
43
- else if ( args . Contains ( "Helmet" ) )
44
- {
45
- // SceneNodeIsland
46
- var island = HelmetScenario . CreateIsland ( compositor ) ;
47
- siteBridge . Connect ( island ) ;
48
- }
49
- else
50
- {
51
- // DrawingIsland
52
- var drawing = new DrawingIsland ( compositor ) ;
53
- siteBridge . Connect ( drawing . Island ) ;
54
- }
31
+ #region Example 1
32
+ var drawing = new DrawingIsland ( compositor ) ;
33
+ siteBridge . Connect ( drawing . Island ) ;
34
+ #endregion
35
+
36
+ #region Example 2
37
+ //var lottie = LottieIslandScenario.CreateLottieIsland(compositor);
38
+ //siteBridge.Connect(lottie.Island);
39
+ #endregion
40
+
41
+ #region Example 3
42
+ //var island = DuckScenario.CreateIsland(compositor);
43
+ //siteBridge.Connect(island);
44
+ #endregion
45
+
46
+ #region Example 4
47
+ //var island = HelmetScenario.CreateIsland(compositor);
48
+ //siteBridge.Connect(island);
49
+ #endregion
55
50
56
51
// Move initial focus to the island.
57
52
var focusNavigationHost = InputFocusNavigationHost . GetForSiteBridge ( siteBridge ) ;
You can’t perform that action at this time.
0 commit comments