未验证 提交 092d2c0b 编写于 作者: M Michael Herzog 提交者: GitHub

Update VideoTexture.html

Removes the reference to `requestanimationframe`.
上级 5dce6f08
......@@ -15,11 +15,7 @@
<div class="desc">
Creates a texture for use with a video texture.<br /><br />
This is almost the same as the base [page:Texture Texture] class,
except that it continuosly sets [page:Texture.needsUpdate needsUpdate] to *true*
(using <a href="https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame">requestAnimationFrame</a>)
so that the texture is updated as the video plays. Automatic creation of [page:Texture.mipmaps mipmaps]
is also disabled.
This is almost the same as the base [page:Texture Texture] class, except that it continuosly sets [page:Texture.needsUpdate needsUpdate] to *true* so that the texture is updated as the video plays. Automatic creation of [page:Texture.mipmaps mipmaps] is also disabled.
</div>
<h2>Example</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册