Skip to content

m-gis核心库 v0.4.4


m-gis核心库 / Video

类: Video ​

定义于: overlay/primitive/Video.ts:136

继承 ​

  • PrimitiveOverlay

构造函数 ​

构造函数 ​

new Video(viewer, param): CesiumVideo3d

定义于: overlay/primitive/Video.ts:166

参数 ​

viewer ​

Viewer

param ​

CesiumVideo3dOptions

返回 ​

CesiumVideo3d

重写了 ​

PrimitiveOverlay.constructor

属性 ​

_attr ​

_attr: any

定义于: overlay/PrimitiveOverlay.ts:19

继承自 ​

PrimitiveOverlay._attr


_bid ​

_bid: any

定义于: overlay/PrimitiveOverlay.ts:11

继承自 ​

PrimitiveOverlay._bid


_delegate ​

_delegate: any

定义于: overlay/PrimitiveOverlay.ts:13

继承自 ​

PrimitiveOverlay._delegate


_id ​

_id: any

定义于: overlay/PrimitiveOverlay.ts:10

继承自 ​

PrimitiveOverlay._id


_inBatch ​

_inBatch: boolean

定义于: overlay/PrimitiveOverlay.ts:12

继承自 ​

PrimitiveOverlay._inBatch


_layer ​

_layer: Layer | undefined

定义于: overlay/PrimitiveOverlay.ts:16

继承自 ​

PrimitiveOverlay._layer


_options ​

_options: any

定义于: overlay/PrimitiveOverlay.ts:23

继承自 ​

PrimitiveOverlay._options


_outline ​

_outline: any

定义于: overlay/PrimitiveOverlay.ts:22

继承自 ​

PrimitiveOverlay._outline


_overlayEvent ​

_overlayEvent: OverlayEvent

定义于: overlay/PrimitiveOverlay.ts:20

继承自 ​

PrimitiveOverlay._overlayEvent


_position ​

_position: any

定义于: overlay/PrimitiveOverlay.ts:14

继承自 ​

PrimitiveOverlay._position


_positions ​

_positions: any

定义于: overlay/PrimitiveOverlay.ts:15

继承自 ​

PrimitiveOverlay._positions


_show ​

_show: boolean

定义于: overlay/PrimitiveOverlay.ts:17

继承自 ​

PrimitiveOverlay._show


_style ​

_style: any

定义于: overlay/PrimitiveOverlay.ts:18

继承自 ​

PrimitiveOverlay._style


type ​

type: any

定义于: overlay/PrimitiveOverlay.ts:21

继承自 ​

PrimitiveOverlay.type

访问器 ​

alpha ​

Getter 签名 ​

get alpha(): number

定义于: overlay/primitive/Video.ts:236

返回 ​

number

Setter 签名 ​

set alpha(value): void

定义于: overlay/primitive/Video.ts:240

参数 ​
value ​

number

返回 ​

void


aspectRatio ​

Getter 签名 ​

get aspectRatio(): number

定义于: overlay/primitive/Video.ts:244

返回 ​

number

Setter 签名 ​

set aspectRatio(value): void

定义于: overlay/primitive/Video.ts:248

参数 ​
value ​

number

返回 ​

void


attr ​

Getter 签名 ​

get attr(): any

定义于: overlay/PrimitiveOverlay.ts:82

返回 ​

any

Setter 签名 ​

set attr(attr): void

定义于: overlay/PrimitiveOverlay.ts:78

覆盖物的额外属性设置

参数 ​
attr ​

any

返回 ​

void

继承自 ​

PrimitiveOverlay.attr


cameraPosition ​

Getter 签名 ​

get cameraPosition(): Cartesian3

定义于: overlay/primitive/Video.ts:273

返回 ​

Cartesian3

Setter 签名 ​

set cameraPosition(value): void

定义于: overlay/primitive/Video.ts:277

参数 ​
value ​

Cartesian3

返回 ​

void


debugFrustum ​

Getter 签名 ​

get debugFrustum(): boolean

定义于: overlay/primitive/Video.ts:253

返回 ​

boolean

Setter 签名 ​

set debugFrustum(value): void

定义于: overlay/primitive/Video.ts:257

参数 ​
value ​

boolean

返回 ​

void


delegate ​

Getter 签名 ​

get delegate(): any

定义于: overlay/PrimitiveOverlay.ts:100

覆盖物的代理对象

返回 ​

any

继承自 ​

PrimitiveOverlay.delegate


fov ​

Getter 签名 ​

get fov(): number

定义于: overlay/primitive/Video.ts:264

返回 ​

number

Setter 签名 ​

set fov(value): void

定义于: overlay/primitive/Video.ts:268

参数 ​
value ​

number

返回 ​

void


id ​

Getter 签名 ​

get id(): any

定义于: overlay/PrimitiveOverlay.ts:57

返回 ​

any

Setter 签名 ​

set id(id): void

定义于: overlay/PrimitiveOverlay.ts:53

设置覆盖物的业务 id

参数 ​
id ​

any

返回 ​

void

继承自 ​

PrimitiveOverlay.id


outline ​

Getter 签名 ​

get outline(): any

定义于: overlay/PrimitiveOverlay.ts:109

outline 代理对象

返回 ​

any

继承自 ​

PrimitiveOverlay.outline


overlayEvent ​

Getter 签名 ​

get overlayEvent(): OverlayEvent

定义于: overlay/PrimitiveOverlay.ts:91

覆盖物的事件对象

返回 ​

OverlayEvent

继承自 ​

PrimitiveOverlay.overlayEvent


overlayId ​

Getter 签名 ​

get overlayId(): any

定义于: overlay/PrimitiveOverlay.ts:45

覆盖物唯一标识

返回 ​

any

继承自 ​

PrimitiveOverlay.overlayId


params ​

Getter 签名 ​

get params(): any

定义于: overlay/primitive/Video.ts:306

返回 ​

any


position ​

Getter 签名 ​

get position(): Cartesian3

定义于: overlay/primitive/Video.ts:284

返回 ​

Cartesian3

Setter 签名 ​

set position(value): void

定义于: overlay/primitive/Video.ts:288

参数 ​
value ​

Cartesian3

返回 ​

void


show ​

Getter 签名 ​

get show(): boolean

定义于: overlay/primitive/Video.ts:324

覆盖物的可见性

返回 ​

boolean

Setter 签名 ​

set show(value): void

定义于: overlay/primitive/Video.ts:328

覆盖物的可见性

参数 ​
value ​

boolean

返回 ​

void

重写了 ​

PrimitiveOverlay.show


videoPlay ​

Getter 签名 ​

get videoPlay(): boolean

定义于: overlay/primitive/Video.ts:295

返回 ​

boolean

Setter 签名 ​

set videoPlay(value): void

定义于: overlay/primitive/Video.ts:299

参数 ​
value ​

boolean

返回 ​

void

方法 ​

_addHandlerSync() ​

_addHandlerSync(): void

定义于: overlay/PrimitiveOverlay.ts:163

返回 ​

void

继承自 ​

PrimitiveOverlay._addHandlerSync


_changeCameraPosition() ​

_changeCameraPosition(e): void

定义于: overlay/primitive/Video.ts:386

参数 ​

e ​

any

返回 ​

void


_changeFar() ​

_changeFar(e): void

定义于: overlay/primitive/Video.ts:395

参数 ​

e ​

number

返回 ​

void


_changeNear() ​

_changeNear(e): void

定义于: overlay/primitive/Video.ts:404

参数 ​

e ​

number

返回 ​

void


_changeRotation() ​

_changeRotation(e): void

定义于: overlay/primitive/Video.ts:377

参数 ​

e ​

any

返回 ​

void


activeColor() ​

activeColor(color): void

定义于: overlay/primitive/Video.ts:567

参数 ​

color ​

string

返回 ​

void


activePicture() ​

activePicture(url): void

定义于: overlay/primitive/Video.ts:550

参数 ​

url ​

string

返回 ​

void


activeVideo() ​

activeVideo(url): void

定义于: overlay/primitive/Video.ts:515

参数 ​

url ​

string

返回 ​

void


addToLayer() ​

addToLayer(layer): CesiumVideo3d

定义于: overlay/PrimitiveOverlay.ts:232

添加到指定图层

参数 ​

layer ​

any

指定图层

返回 ​

CesiumVideo3d

继承自 ​

PrimitiveOverlay.addToLayer


creacteGeometry() ​

creacteGeometry(width, height): Geometry

定义于: overlay/primitive/Video.ts:718

参数 ​

width ​

number

height ​

number

返回 ​

Geometry


deActiveVideo() ​

deActiveVideo(): void

定义于: overlay/primitive/Video.ts:540

返回 ​

void


destroy() ​

destroy(): void

定义于: overlay/primitive/Video.ts:611

返回 ​

void


fire() ​

fire(type, params): CesiumVideo3d

定义于: overlay/PrimitiveOverlay.ts:272

触发事件

参数 ​

type ​

string

params ​

any

返回 ​

CesiumVideo3d

继承自 ​

PrimitiveOverlay.fire


isDestroyed() ​

isDestroyed(): boolean

定义于: overlay/primitive/Video.ts:648

返回 ​

boolean


locate() ​

locate(): void

定义于: overlay/primitive/Video.ts:584

返回 ​

void


off() ​

off(type, callback, context): CesiumVideo3d

定义于: overlay/PrimitiveOverlay.ts:260

注销事件

参数 ​

type ​

string

事件类型

callback ​

any

监听回调

context ​

any

返回 ​

CesiumVideo3d

继承自 ​

PrimitiveOverlay.off


on() ​

on(type, callback, context?): CesiumVideo3d

定义于: overlay/PrimitiveOverlay.ts:247

注册事件

参数 ​

type ​

string | number

事件类型

callback ​

any

监听回调

context? ​

any

返回 ​

CesiumVideo3d

继承自 ​

PrimitiveOverlay.on


remove() ​

remove(): CesiumVideo3d

定义于: overlay/PrimitiveOverlay.ts:219

从图层上移出

返回 ​

CesiumVideo3d

继承自 ​

PrimitiveOverlay.remove


set() ​

set(): void

定义于: overlay/PrimitiveOverlay.ts:277

返回 ​

void

继承自 ​

PrimitiveOverlay.set


setLabel() ​

setLabel(text, textStyle): CesiumVideo3d

定义于: overlay/PrimitiveOverlay.ts:195

设置文字标签

参数 ​

text ​

string

指定文本的属性。支持显式换行符'\ n'。

textStyle ​

any

text 样式

返回 ​

CesiumVideo3d

继承自 ​

PrimitiveOverlay.setLabel


setStyle() ​

setStyle(): CesiumVideo3d

定义于: overlay/PrimitiveOverlay.ts:210

TODO设置样式

返回 ​

CesiumVideo3d

继承自 ​

PrimitiveOverlay.setStyle


update() ​

update(_e): void

定义于: overlay/primitive/Video.ts:604

参数 ​

_e ​

any

返回 ​

void


getOverlayType() ​

static getOverlayType(type): string | number | undefined

定义于: overlay/PrimitiveOverlay.ts:305

获取 Overlay 类型

参数 ​

type ​

string

返回 ​

string | number | undefined

继承自 ​

PrimitiveOverlay.getOverlayType


registerType() ​

static registerType(type): void

定义于: overlay/PrimitiveOverlay.ts:293

Overlay 类型注册

参数 ​

type ​

string

返回 ​

void

继承自 ​

PrimitiveOverlay.registerType

MGis 地理三维库