Difference between revisions of "RenderTarget.new"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2013.06<br/> | '''<translate>Available since</translate>:''' Gideros 2013.06<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/RenderTarget|RenderTarget]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/RenderTarget|RenderTarget]]<br/> |
Revision as of 09:59, 3 September 2018
Available since: Gideros 2013.06
Class: RenderTarget
Description
Creates new RenderTarget object
RenderTarget.new(width,height,filtering,repeat,autoscale)
Parameters
width: (number) width of rendered texture
height: (number) height of rendered texture
filtering: (boolean, default = false) Whether or not the texture is filtered.
repeat: (boolean, default = false) Whether or not the texture is repeating.
autoscale: (boolean, default = false) Whether or not the actual texture size should be scaled to match display resolution.