Canvas Nasal API: Difference between revisions

Jump to navigation Jump to search
Line 180: Line 180:


''key = "clip"''
''key = "clip"''
{{Note|
{{FGCquote
|1= Scaling or any other type of transformation or changing the coordinates of individual points is definitely more efficient than clipping (which requires to change the OpenGL clip planes for every rendered object with a different clipping rectangle).
|2= {{cite web
  | url    = http://forum.flightgear.org/viewtopic.php?p=277062#p277062
  | title  = <nowiki>Re: Space Shuttle</nowiki>
  | author = <nowiki>TheTom</nowiki>
  | date  = Feb 21st, 2016
  | added  = Feb 21st, 2016
  | script_version = 0.25
  }}
}}
}}


Makes a clipping bounds for the group, only what is inside the clipping bounds will be shown.
Makes a clipping bounds for the group, only what is inside the clipping bounds will be shown.

Navigation menu