Difference between revisions of "Texture"

From GiderosMobile
Line 14: Line 14:
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Methods</translate> ===
 
=== <translate>Methods</translate> ===
[[Special:MyLanguage/Texture.new|Texture.new]] ''<translate>creates a new Texture object</translate>''<br/><!-- GIDEROSMTD:Texture.new -->
+
[[Special:MyLanguage/Texture.new|Texture.new]] ''<translate>creates a new Texture object</translate>''<br/><!-- GIDEROSMTD:Texture.new(filename,filtering,options) creates a new Texture object -->
[[Special:MyLanguage/Texture.new|Texture.new]] <br/><!-- GIDEROSMTD:Texture.new -->
+
[[Special:MyLanguage/Texture.new|Texture.new]] <br/><!-- GIDEROSMTD:Texture.new(pixels,width,height,filtering,options)  -->
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Events</translate> ===
 
=== <translate>Events</translate> ===
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
 
|}
 
|}

Revision as of 15:31, 13 September 2018


Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2011.6
Inherits from: TextureBase

Description



The Texture class lets you work with textures in an application. The Texture class lets you create
a new Texture object to load from an image file and display in scene tree.

Methods

Texture.new creates a new Texture object
Texture.new

Events

Constants