提交 24ecd154 编写于 作者: T Tom Sullivan

Update documented `crossOrigin` defaults

For the specific implementations of `Loader`, update the
documented default `crossOrigin` values to reflect the source.
上级 1b895aa0
......@@ -56,7 +56,7 @@ scene.background = new THREE.CubeTextureLoader()
<p>
If set, assigns the [link:https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes crossOrigin]
attribute of the image to the value of *crossOrigin*,
prior to starting the load. Default is *undefined*.
prior to starting the load. Default is *"Anonymous"*.
</p>
<h3>[property:LoadingManager manager]</h3>
......
......@@ -69,7 +69,7 @@
<h3>[property:String crossOrigin]</h3>
<p>
If set, assigns the [link:https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes crossOrigin]
attribute of the image to the value of *crossOrigin*, prior to starting the load. Default is *undefined*.
attribute of the image to the value of *crossOrigin*, prior to starting the load. Default is *"Anonymous"*.
</p>
<h3>[property:LoadingManager manager]</h3>
......
......@@ -72,7 +72,7 @@
<h3>[property:String crossOrigin]</h3>
<p>
If set, assigns the [link:https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes crossOrigin]
attribute of the image to the value of *crossOrigin*, prior to starting the load. Default is *undefined*.
attribute of the image to the value of *crossOrigin*, prior to starting the load. Default is *"Anonymous"*.
</p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册