new VideoTexture(param) thing/src/resources/VideoTexture.js, line 42 视频纹理,可以播放视频流,并可以用于对象的样式。 Parameters: Name Type Description param object 初始参数。 Properties Name Type Attributes Description url string <optional> 视频文件的url。 video object <optional> 视频元素。 onLoad function 加载完成后的回调函数。 Members resource :object thing/src/resources/VideoTexture.js, line 240 获取/设置视频元素 url :string thing/src/resources/VideoTexture.js, line 289 获取/设置url