Summary
Constructor
new VideoTex(options)
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
|
Example
let coordseq = new hmap.basetype.CoordSeq([coordinate1,coordinate2,coordinate3,coordinate4,coordinate1]);
let videoTex = new hmap.geosolution.cell.VideoTex({
coordSeqs: [coordseq],
video:document.getElementById("video1"),
videoRotate:[0,0,0]
});
Methods
-
destroy()
-
销毁对象,如果视频纹理已经添加到VideoTexModel,需要先从VideoTexModel中移除后再销毁
-
getId() → {String|*}
-
获取模型元素的id
Returns:
String | *