Class: Info
M3D.Info
Memberof
M3D
Description
信息
Date
2022-1-12
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Hierarchy
-
↳
Info
Table of contents
Constructors
Properties
Methods
- getAreas
- getAttributes
- getCamera
- getEvents
- getId
- getInitializationMap
- getVersion
- registerEvent
- removeEvent
- setAreas
- setAttributes
- setCamera
- setId
- setInitializationMap
- setVersion
Constructors
constructor
• new Info(infoStr
): Info
Parameters
Name | Type | Description |
---|---|---|
infoStr | string | info字符串 |
Returns
Description
构造函数
Overrides
Properties
id
• id: number
Inherited from
count
▪ Static
count: number
Inherited from
Methods
getAreas
▸ getAreas(): Area
[]
Returns
Area
[]
Area
Description
获取Area
getAttributes
▸ getAttributes(): Map
<string
, string
>
Returns
Map
<string
, string
>
属性Map
Description
获取属性信息
getCamera
▸ getCamera(): Camera
Returns
相机
Description
获取场景相机信息
getEvents
▸ getEvents(): M3DEvent
[]
Returns
M3DEvent
[]
Description
获得事件列表
Inherited from
getId
▸ getId(): number
Returns
number
Description
获取id
Inherited from
getInitializationMap
▸ getInitializationMap(): Map
<string
, string
>
Returns
Map
<string
, string
>
初始化参数map
Description
获取初始化参数map
getVersion
▸ getVersion(): string
Returns
string
版本号
Description
获取版本
registerEvent
▸ registerEvent(event
): void