UnityEngine.UnityWebRequestWWWModule.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  2. <doc>
  3. <members>
  4. <assembly>
  5. <name>UnityEngine.UnityWebRequestWWWModule</name>
  6. </assembly>
  7. <member name="A:UnityEngine.UnityWebRequestWWWModule">
  8. <summary>
  9. <para>The UnityWebRequestWWW module implements the legacy WWW lets you communicate with http services.</para>
  10. </summary>
  11. </member>
  12. <member name="T:UnityEngine.WWW">
  13. <summary>
  14. <para>Simple access to web pages.</para>
  15. </summary>
  16. </member>
  17. <member name="P:UnityEngine.WWW.assetBundle">
  18. <summary>
  19. <para>Streams an AssetBundle that can contain any kind of asset from the project folder.</para>
  20. </summary>
  21. </member>
  22. <member name="P:UnityEngine.WWW.audioClip">
  23. <summary>
  24. <para>Returns a AudioClip generated from the downloaded data (Read Only).</para>
  25. </summary>
  26. </member>
  27. <member name="P:UnityEngine.WWW.bytes">
  28. <summary>
  29. <para>Returns the contents of the fetched web page as a byte array (Read Only).</para>
  30. </summary>
  31. </member>
  32. <member name="P:UnityEngine.WWW.bytesDownloaded">
  33. <summary>
  34. <para>The number of bytes downloaded by this WWW query (read only).</para>
  35. </summary>
  36. </member>
  37. <member name="P:UnityEngine.WWW.error">
  38. <summary>
  39. <para>Returns an error message if there was an error during the download (Read Only).</para>
  40. </summary>
  41. </member>
  42. <member name="P:UnityEngine.WWW.isDone">
  43. <summary>
  44. <para>Is the download already finished? (Read Only)</para>
  45. </summary>
  46. </member>
  47. <member name="P:UnityEngine.WWW.movie">
  48. <summary>
  49. <para>Returns a MovieTexture generated from the downloaded data (Read Only).</para>
  50. </summary>
  51. </member>
  52. <member name="P:UnityEngine.WWW.progress">
  53. <summary>
  54. <para>How far has the download progressed (Read Only).</para>
  55. </summary>
  56. </member>
  57. <member name="P:UnityEngine.WWW.responseHeaders">
  58. <summary>
  59. <para>Dictionary of headers returned by the request.</para>
  60. </summary>
  61. </member>
  62. <member name="P:UnityEngine.WWW.text">
  63. <summary>
  64. <para>Returns the contents of the fetched web page as a string (Read Only).</para>
  65. </summary>
  66. </member>
  67. <member name="P:UnityEngine.WWW.texture">
  68. <summary>
  69. <para>Returns a Texture2D generated from the downloaded data (Read Only).</para>
  70. </summary>
  71. </member>
  72. <member name="P:UnityEngine.WWW.textureNonReadable">
  73. <summary>
  74. <para>Returns a non-readable Texture2D generated from the downloaded data (Read Only).</para>
  75. </summary>
  76. </member>
  77. <member name="P:UnityEngine.WWW.threadPriority">
  78. <summary>
  79. <para>Obsolete, has no effect.</para>
  80. </summary>
  81. </member>
  82. <member name="P:UnityEngine.WWW.uploadProgress">
  83. <summary>
  84. <para>How far has the upload progressed (Read Only).</para>
  85. </summary>
  86. </member>
  87. <member name="P:UnityEngine.WWW.url">
  88. <summary>
  89. <para>The URL of this WWW request (Read Only).</para>
  90. </summary>
  91. </member>
  92. <member name="M:UnityEngine.WWW.#ctor(System.String)">
  93. <summary>
  94. <para>Creates a WWW request with the given URL.</para>
  95. </summary>
  96. <param name="url">The url to download. Must be '%' escaped.</param>
  97. <returns>
  98. <para>A new WWW object. When it has been downloaded, the results can be fetched from the returned object.</para>
  99. </returns>
  100. </member>
  101. <member name="M:UnityEngine.WWW.#ctor(System.String,UnityEngine.WWWForm)">
  102. <summary>
  103. <para>Creates a WWW request with the given URL.</para>
  104. </summary>
  105. <param name="url">The url to download. Must be '%' escaped.</param>
  106. <param name="form">A WWWForm instance containing the form data to post.</param>
  107. <returns>
  108. <para>A new WWW object. When it has been downloaded, the results can be fetched from the returned object.</para>
  109. </returns>
  110. </member>
  111. <member name="M:UnityEngine.WWW.#ctor(System.String,System.Byte[])">
  112. <summary>
  113. <para>Creates a WWW request with the given URL.</para>
  114. </summary>
  115. <param name="url">The url to download. Must be '%' escaped.</param>
  116. <param name="postData">A byte array of data to be posted to the url.</param>
  117. <returns>
  118. <para>A new WWW object. When it has been downloaded, the results can be fetched from the returned object.</para>
  119. </returns>
  120. </member>
  121. <member name="M:UnityEngine.WWW.#ctor(System.String,System.Byte[],System.Collections.Hashtable)">
  122. <summary>
  123. <para>Creates a WWW request with the given URL.</para>
  124. </summary>
  125. <param name="url">The url to download. Must be '%' escaped.</param>
  126. <param name="postData">A byte array of data to be posted to the url.</param>
  127. <param name="headers">A hash table of custom headers to send with the request.</param>
  128. <returns>
  129. <para>A new WWW object. When it has been downloaded, the results can be fetched from the returned object.</para>
  130. </returns>
  131. </member>
  132. <member name="M:UnityEngine.WWW.#ctor(System.String,System.Byte[],System.Collections.Generic.Dictionary`2&lt;System.String,System.String&gt;)">
  133. <summary>
  134. <para>Creates a WWW request with the given URL.</para>
  135. </summary>
  136. <param name="url">The url to download. Must be '%' escaped.</param>
  137. <param name="postData">A byte array of data to be posted to the url.</param>
  138. <param name="headers">A dictionary that contains the header keys and values to pass to the server.</param>
  139. <returns>
  140. <para>A new WWW object. When it has been downloaded, the results can be fetched from the returned object.</para>
  141. </returns>
  142. </member>
  143. <member name="M:UnityEngine.WWW.Dispose">
  144. <summary>
  145. <para>Disposes of an existing WWW object.</para>
  146. </summary>
  147. </member>
  148. <member name="M:UnityEngine.WWW.EscapeURL(System.String)">
  149. <summary>
  150. <para>Escapes characters in a string to ensure they are URL-friendly.</para>
  151. </summary>
  152. <param name="s">A string with characters to be escaped.</param>
  153. <param name="e">The text encoding to use.</param>
  154. </member>
  155. <member name="M:UnityEngine.WWW.EscapeURL(System.String,System.Text.Encoding)">
  156. <summary>
  157. <para>Escapes characters in a string to ensure they are URL-friendly.</para>
  158. </summary>
  159. <param name="s">A string with characters to be escaped.</param>
  160. <param name="e">The text encoding to use.</param>
  161. </member>
  162. <member name="M:UnityEngine.WWW.GetAudioClip(System.Boolean)">
  163. <summary>
  164. <para>Returns an AudioClip generated from the downloaded data (Read Only).</para>
  165. </summary>
  166. <param name="threeD">Use this to specify whether the clip should be a 2D or 3D clip
  167. the .audioClip property defaults to 3D.</param>
  168. <param name="stream">Sets whether the clip should be completely downloaded before it's ready to play (false) or the stream can be played even if only part of the clip is downloaded (true).
  169. The latter will disable seeking on the clip (with .time and/or .timeSamples).</param>
  170. <param name="audioType">The AudioType of the content your downloading. If this is not set Unity will try to determine the type from URL.</param>
  171. <returns>
  172. <para>The returned AudioClip.</para>
  173. </returns>
  174. </member>
  175. <member name="M:UnityEngine.WWW.GetAudioClip(System.Boolean,System.Boolean)">
  176. <summary>
  177. <para>Returns an AudioClip generated from the downloaded data (Read Only).</para>
  178. </summary>
  179. <param name="threeD">Use this to specify whether the clip should be a 2D or 3D clip
  180. the .audioClip property defaults to 3D.</param>
  181. <param name="stream">Sets whether the clip should be completely downloaded before it's ready to play (false) or the stream can be played even if only part of the clip is downloaded (true).
  182. The latter will disable seeking on the clip (with .time and/or .timeSamples).</param>
  183. <param name="audioType">The AudioType of the content your downloading. If this is not set Unity will try to determine the type from URL.</param>
  184. <returns>
  185. <para>The returned AudioClip.</para>
  186. </returns>
  187. </member>
  188. <member name="M:UnityEngine.WWW.GetAudioClip(System.Boolean,System.Boolean,UnityEngine.AudioType)">
  189. <summary>
  190. <para>Returns an AudioClip generated from the downloaded data (Read Only).</para>
  191. </summary>
  192. <param name="threeD">Use this to specify whether the clip should be a 2D or 3D clip
  193. the .audioClip property defaults to 3D.</param>
  194. <param name="stream">Sets whether the clip should be completely downloaded before it's ready to play (false) or the stream can be played even if only part of the clip is downloaded (true).
  195. The latter will disable seeking on the clip (with .time and/or .timeSamples).</param>
  196. <param name="audioType">The AudioType of the content your downloading. If this is not set Unity will try to determine the type from URL.</param>
  197. <returns>
  198. <para>The returned AudioClip.</para>
  199. </returns>
  200. </member>
  201. <member name="M:UnityEngine.WWW.GetAudioClipCompressed">
  202. <summary>
  203. <para>Returns an AudioClip generated from the downloaded data that is compressed in memory (Read Only).</para>
  204. </summary>
  205. <param name="threeD">Use this to specify whether the clip should be a 2D or 3D clip.</param>
  206. <param name="audioType">The AudioType of the content your downloading. If this is not set Unity will try to determine the type from URL.</param>
  207. <returns>
  208. <para>The returned AudioClip.</para>
  209. </returns>
  210. </member>
  211. <member name="M:UnityEngine.WWW.GetAudioClipCompressed(System.Boolean)">
  212. <summary>
  213. <para>Returns an AudioClip generated from the downloaded data that is compressed in memory (Read Only).</para>
  214. </summary>
  215. <param name="threeD">Use this to specify whether the clip should be a 2D or 3D clip.</param>
  216. <param name="audioType">The AudioType of the content your downloading. If this is not set Unity will try to determine the type from URL.</param>
  217. <returns>
  218. <para>The returned AudioClip.</para>
  219. </returns>
  220. </member>
  221. <member name="M:UnityEngine.WWW.GetAudioClipCompressed(System.Boolean,UnityEngine.AudioType)">
  222. <summary>
  223. <para>Returns an AudioClip generated from the downloaded data that is compressed in memory (Read Only).</para>
  224. </summary>
  225. <param name="threeD">Use this to specify whether the clip should be a 2D or 3D clip.</param>
  226. <param name="audioType">The AudioType of the content your downloading. If this is not set Unity will try to determine the type from URL.</param>
  227. <returns>
  228. <para>The returned AudioClip.</para>
  229. </returns>
  230. </member>
  231. <member name="M:UnityEngine.WWW.GetMovieTexture">
  232. <summary>
  233. <para>MovieTexture has been deprecated. Refer to the new movie playback solution VideoPlayer.</para>
  234. </summary>
  235. </member>
  236. <member name="M:UnityEngine.WWW.LoadFromCacheOrDownload(System.String,System.Int32)">
  237. <summary>
  238. <para>Loads an AssetBundle with the specified version number from the cache. If the AssetBundle is not currently cached, it will automatically be downloaded and stored in the cache for future retrieval from local storage.</para>
  239. </summary>
  240. <param name="url">The URL to download the AssetBundle from, if it is not present in the cache. Must be '%' escaped.</param>
  241. <param name="version">Version of the AssetBundle. The file will only be loaded from the disk cache if it has previously been downloaded with the same version parameter. By incrementing the version number requested by your application, you can force Caching to download a new copy of the AssetBundle from url.</param>
  242. <param name="hash">Hash128 which is used as the version of the AssetBundle.</param>
  243. <param name="cachedBundle">A structure used to download a given version of AssetBundle to a customized cache path.
  244. Analogous to the cachedAssetBundle parameter for UnityWebRequestAssetBundle.GetAssetBundle.&lt;/param&gt;</param>
  245. <param name="crc">An optional CRC-32 Checksum of the uncompressed contents. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match. You can use this to avoid data corruption from bad downloads or users tampering with the cached files on disk. If the CRC does not match, Unity will try to redownload the data, and if the CRC on the server does not match it will fail with an error. Look at the error string returned to see the correct CRC value to use for an AssetBundle.</param>
  246. <returns>
  247. <para>A WWW instance, which can be used to access the data once the load/download operation is completed.</para>
  248. </returns>
  249. </member>
  250. <member name="M:UnityEngine.WWW.LoadFromCacheOrDownload(System.String,System.Int32,System.UInt32)">
  251. <summary>
  252. <para>Loads an AssetBundle with the specified version number from the cache. If the AssetBundle is not currently cached, it will automatically be downloaded and stored in the cache for future retrieval from local storage.</para>
  253. </summary>
  254. <param name="url">The URL to download the AssetBundle from, if it is not present in the cache. Must be '%' escaped.</param>
  255. <param name="version">Version of the AssetBundle. The file will only be loaded from the disk cache if it has previously been downloaded with the same version parameter. By incrementing the version number requested by your application, you can force Caching to download a new copy of the AssetBundle from url.</param>
  256. <param name="hash">Hash128 which is used as the version of the AssetBundle.</param>
  257. <param name="cachedBundle">A structure used to download a given version of AssetBundle to a customized cache path.
  258. Analogous to the cachedAssetBundle parameter for UnityWebRequestAssetBundle.GetAssetBundle.&lt;/param&gt;</param>
  259. <param name="crc">An optional CRC-32 Checksum of the uncompressed contents. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match. You can use this to avoid data corruption from bad downloads or users tampering with the cached files on disk. If the CRC does not match, Unity will try to redownload the data, and if the CRC on the server does not match it will fail with an error. Look at the error string returned to see the correct CRC value to use for an AssetBundle.</param>
  260. <returns>
  261. <para>A WWW instance, which can be used to access the data once the load/download operation is completed.</para>
  262. </returns>
  263. </member>
  264. <member name="M:UnityEngine.WWW.LoadFromCacheOrDownload(System.String,UnityEngine.Hash128,System.UInt32)">
  265. <summary>
  266. <para>Loads an AssetBundle with the specified version number from the cache. If the AssetBundle is not currently cached, it will automatically be downloaded and stored in the cache for future retrieval from local storage.</para>
  267. </summary>
  268. <param name="url">The URL to download the AssetBundle from, if it is not present in the cache. Must be '%' escaped.</param>
  269. <param name="version">Version of the AssetBundle. The file will only be loaded from the disk cache if it has previously been downloaded with the same version parameter. By incrementing the version number requested by your application, you can force Caching to download a new copy of the AssetBundle from url.</param>
  270. <param name="hash">Hash128 which is used as the version of the AssetBundle.</param>
  271. <param name="cachedBundle">A structure used to download a given version of AssetBundle to a customized cache path.
  272. Analogous to the cachedAssetBundle parameter for UnityWebRequestAssetBundle.GetAssetBundle.&lt;/param&gt;</param>
  273. <param name="crc">An optional CRC-32 Checksum of the uncompressed contents. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match. You can use this to avoid data corruption from bad downloads or users tampering with the cached files on disk. If the CRC does not match, Unity will try to redownload the data, and if the CRC on the server does not match it will fail with an error. Look at the error string returned to see the correct CRC value to use for an AssetBundle.</param>
  274. <returns>
  275. <para>A WWW instance, which can be used to access the data once the load/download operation is completed.</para>
  276. </returns>
  277. </member>
  278. <member name="M:UnityEngine.WWW.LoadFromCacheOrDownload(System.String,UnityEngine.CachedAssetBundle,System.UInt32)">
  279. <summary>
  280. <para>Loads an AssetBundle with the specified version number from the cache. If the AssetBundle is not currently cached, it will automatically be downloaded and stored in the cache for future retrieval from local storage.</para>
  281. </summary>
  282. <param name="url">The URL to download the AssetBundle from, if it is not present in the cache. Must be '%' escaped.</param>
  283. <param name="version">Version of the AssetBundle. The file will only be loaded from the disk cache if it has previously been downloaded with the same version parameter. By incrementing the version number requested by your application, you can force Caching to download a new copy of the AssetBundle from url.</param>
  284. <param name="hash">Hash128 which is used as the version of the AssetBundle.</param>
  285. <param name="cachedBundle">A structure used to download a given version of AssetBundle to a customized cache path.
  286. Analogous to the cachedAssetBundle parameter for UnityWebRequestAssetBundle.GetAssetBundle.&lt;/param&gt;</param>
  287. <param name="crc">An optional CRC-32 Checksum of the uncompressed contents. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match. You can use this to avoid data corruption from bad downloads or users tampering with the cached files on disk. If the CRC does not match, Unity will try to redownload the data, and if the CRC on the server does not match it will fail with an error. Look at the error string returned to see the correct CRC value to use for an AssetBundle.</param>
  288. <returns>
  289. <para>A WWW instance, which can be used to access the data once the load/download operation is completed.</para>
  290. </returns>
  291. </member>
  292. <member name="M:UnityEngine.WWW.LoadImageIntoTexture(UnityEngine.Texture2D)">
  293. <summary>
  294. <para>Replaces the contents of an existing Texture2D with an image from the downloaded data.</para>
  295. </summary>
  296. <param name="tex">An existing texture object to be overwritten with the image data.</param>
  297. <param name="texture"></param>
  298. </member>
  299. <member name="M:UnityEngine.WWW.UnEscapeURL(System.String)">
  300. <summary>
  301. <para>Converts URL-friendly escape sequences back to normal text.</para>
  302. </summary>
  303. <param name="s">A string containing escaped characters.</param>
  304. <param name="e">The text encoding to use.</param>
  305. </member>
  306. <member name="M:UnityEngine.WWW.UnEscapeURL(System.String,System.Text.Encoding)">
  307. <summary>
  308. <para>Converts URL-friendly escape sequences back to normal text.</para>
  309. </summary>
  310. <param name="s">A string containing escaped characters.</param>
  311. <param name="e">The text encoding to use.</param>
  312. </member>
  313. </members>
  314. </doc>