mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 15:36:07 +00:00 
			
		
		
		
	Couleurs
This commit is contained in:
		
							parent
							
								
									9850f0cfe3
								
							
						
					
					
						commit
						87b175f671
					
				
					 2 changed files with 6 additions and 3 deletions
				
			
		|  | @ -64,7 +64,7 @@ | |||
|                 <pickers:StringPickerView BindingContext="{Binding}" Title="{Binding PreferedBackgroundSpecialties.Name}" Description="{Binding PreferedBackgroundSpecialties.Description}" ItemsSource="{Binding PreferedBackgroundSpecialties.BindableTable}" SelectedItem="{Binding BackgroundSpecialty, Mode=TwoWay}" />--> | ||||
| 
 | ||||
|             </StackLayout> | ||||
|             <skviews:SKCanvasView x:Name="CanvasDices" Margin="15" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" PaintSurface="SKCanvasView_PaintSurface"> | ||||
|             <skviews:SKCanvasView x:Name="CanvasDices" IsVisible="False" Margin="15" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" PaintSurface="SKCanvasView_PaintSurface"> | ||||
| 
 | ||||
|             </skviews:SKCanvasView> | ||||
| 
 | ||||
|  |  | |||
|  | @ -46,7 +46,8 @@ namespace AideDeJeu.Views | |||
| 
 | ||||
|         async void CreateScene() | ||||
|         { | ||||
|             Input.SubscribeToTouchEnd(OnTouched); | ||||
|             Input.TouchEnd += OnTouched; | ||||
|             //Input.SubscribeToTouchEnd(OnTouched); | ||||
| 
 | ||||
|             scene = new Scene();             | ||||
|             octree = scene.CreateComponent<Octree>(); | ||||
|  | @ -55,6 +56,7 @@ namespace AideDeJeu.Views | |||
|             var baseNode = plotNode.CreateChild().CreateChild(); | ||||
|             var plane = baseNode.CreateComponent<StaticModel>(); | ||||
|             plane.Model = CoreAssets.Models.Plane; | ||||
|             plane.Material = Material.FromColor(new Color(0, 0, 0, 1)); | ||||
| 
 | ||||
|             var cameraNode = scene.CreateChild(); | ||||
|             camera = cameraNode.CreateComponent<Camera>(); | ||||
|  | @ -132,6 +134,7 @@ namespace AideDeJeu.Views | |||
|             var renderer = Renderer; | ||||
|             var vp = new Viewport(Context, scene, camera, null); | ||||
|             renderer.SetViewport(0, vp); | ||||
|             vp.SetClearColor(new Color(1, 1, 1, 1)); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez