Interface administrators, moderator
2,756
edits
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|returnTypes = Texture | |returnTypes = Texture | ||
|returnInfo = the texture object | |returnInfo = the texture object | ||
|parameters = Stream stream | |parameters = Stream stream OR Sting url | ||
|parameter1 = Stream stream The stream | |parameter1 = Stream stream The [[ResourceFiles|file stream]] of the PNG file, or String with a URL to a PNG file | ||
|returnFail1 = bool false | |returnFail1 = bool false | ||
|notes = The first parameter can be either a [[ResourceFiles|file stream]], or a URL to a file on the internet.<br> | |||
When using a URL, the file must be accessible by the '''client'''. The client will use it's own connection to grab the file, which means it must be publicly available. | |||
}} | }} |