new MarkerLineEntity(scene [, opts])
太さ付き連続線エンティティ
Parameters:
Name | Type | Argument | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
scene |
mapray.Scene | 所属可能シーン |
|||||||||||||
opts |
object |
<optional> |
オプション集合 Properties
|
- Source:
Extends
Members
-
altitude_mode :mapray.AltitudeMode
高度モード
-
Type:
- Inherited From:
- Overrides:
- Source:
-
<readonly> animation :mapray.animation.BindingBlock
アニメーションパラメータ設定
-
Type:
- Inherited From:
- Overrides:
- Source:
-
<readonly> scene :mapray.Scene
所属可能シーン
-
Type:
- Inherited From:
- Overrides:
- Source:
-
<readonly> visibility :boolean
可視性フラグを取得
-
Type:
- boolean
- Inherited From:
- Overrides:
- Source:
Methods
-
addPoints(points)
複数の頂点を追加
-
points は [lon_0, lat_0, alt_0, lon_1, lat_1, alt_1, ...] のような形式の配列を与える。
Parameters:
Name Type Description points
Array.<number> 頂点の配列
- Source:
-
setColor(color)
基本色を設定
-
Parameters:
Name Type Description color
mapray.Vector3 基本色
- Inherited From:
- Overrides:
- Source:
-
setLineWidth(width)
線の太さを設定
-
Parameters:
Name Type Description width
number 線の太さ (画素単位)
- Inherited From:
- Overrides:
- Source:
-
setOpacity(opacity)
不透明度を設定
-
Parameters:
Name Type Description opacity
number 不透明度
- Inherited From:
- Overrides:
- Source:
-
setVisibility(visibility)
可視性フラグを設定
-
Parameters:
Name Type Description visibility
boolean 可視性フラグ
- Inherited From:
- Overrides:
- Source: