User Tools

Site Tools


gamedev:canvassystem:view

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gamedev:canvassystem:view [2015/06/17 23:05] – created dragonlordgamedev:canvassystem:view [2024/03/14 16:47] (current) dragonlord
Line 1: Line 1:
-gamedev:canvassystem:canvasview 
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:canvassystem:introduction|Canvas System]] >> **Canvas View**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:canvassystem:introduction|Canvas System]] >> **Canvas View**
 </WRAP> </WRAP>
  
 ====== Canvas View ====== ====== Canvas View ======
-Canvas are organized in a tree structure. A [[http://dragengine.rptd.ch/docs/dragengine/latest/classdeCanvasView.html|canvas view]] contains 0 or more child canvas rendering them in a determined order. Since canvas are transparent in general they can be easily stacked. The **order** numbe assigned to child canvas determines the render order. Canvas with lower numbers are rendered underneath canvas with higher numbers. If two or more canvas have the same order number the render order is undefined. Child canvas are located relative to the upper left corner of the canvas view. The child position and size are measured in pixels.+Canvas are organized in a tree structure. A #@LinkApiDocDE2_HTML~classdeCanvasView.html,canvas view~@# contains 0 or more child canvas rendering them in a determined order. Since canvas are transparent in general they can be easily stacked. The **order** numbe assigned to child canvas determines the render order. Canvas with lower numbers are rendered underneath canvas with higher numbers. If two or more canvas have the same order number the render order is undefined. Child canvas are located relative to the upper left corner of the canvas view. The child position and size are measured in pixels.
  
-<WRAP center box 450px>+<WRAP center box 650px>
 {{ :gamedev:canvassystem:canvas_placement.png |Child canvas placement}} {{ :gamedev:canvassystem:canvas_placement.png |Child canvas placement}}
 <WRAP centeralign>Child canvas placement.</WRAP> <WRAP centeralign>Child canvas placement.</WRAP>
Line 13: Line 12:
  
 ====== Root Canvas ====== ====== Root Canvas ======
-Canvas views are the only canvas possible to be used as root canvas. A root canvas is the top level canvas and the starting point of 2D rendering. Root canvas are used in [[http://dragengine.rptd.ch/docs/dragengine/latest/classdeRenderWindow.html|render windows]] (created automatically), [[gamedev:canvassystem:canvascanvas|canvas canvas]] and [[http://dragengine.rptd.ch/docs/dragengine/latest/classdeDSRenderableCanvas.html|dynamic skin canvas renderable]]. Especially in dynamic skin renderables canvas views allow to define 3D component textures using the canvas system.+Canvas views are the only canvas possible to be used as root canvas. A root canvas is the top level canvas and the starting point of 2D rendering. Root canvas are used in #@LinkApiDocDE2_HTML~classdeRenderWindow.html,render windows~@# (created automatically), [[gamedev:canvassystem:canvasview|canvas canvas view]] and #@LinkApiDocDE2_HTML~classdeDSRenderableCanvas.html,dynamic skin canvas renderable~@#. Especially in dynamic skin renderables canvas views allow to define 3D component textures using the canvas system.
  
gamedev/canvassystem/view.1434582320.txt.gz · Last modified: 2015/06/17 23:05 by dragonlord