VideoTexture

VideoTexture

VideoTexture 视频纹理
基类: TextureRoot

Members

readonly video : HTMLVideoElement

视频Html对象

Methods

constructor(earthViewer,src,settings)

构造视频纹理
Name Type Description
earthViewer EarthViewer
src string | string[] | HTMLVideoElement 视频数据源,可以是url或者HTMLVideoElement
settings VideoTextureSettings optional创建参数

dispose()

是否对象

getInternalTexture() → InternalTexture

内部纹理对象

updateUrl(url)

更新视频url
Name Type Description
url string