Class: AbstractLineEntity

mapray~ AbstractLineEntity

mapray.MarkerLineEntitymapray.PathEntity の共通機能を 提供するクラスである。


<abstract, protected> new AbstractLineEntity(scene, line_type [, opts])

線エンティティ

Parameters:
Name Type Argument Description
scene mapray.Scene

所属可能シーン

line_type mapray.AbstractLineEntity.LineType

クラス種別

opts object <optional>

オプション集合

Properties
Name Type Argument Description
json object <optional>

生成情報

refs object <optional>

参照辞書

Source:

Extends

Members


<static, constant> LineType :object

エンティティの種類の列挙型

Type:
  • object
Properties:
Name Type Default Description
MARKERLINE object {"id":"MARKERLINE"}

MarkerLineEntity

PATH object {"id":"PATH"}

PathEntity

Source:
See:
  • mapray.AbstractLineEntity#line_type

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


getBounds()

すべての頂点のバウンディングを算出

Inherited From:
Overrides:
Source:
Returns:

バウンディング情報を持ったGeoRegion

Type
mapray.GeoRegion

setColor(color)

基本色を設定

Parameters:
Name Type Description
color mapray.Vector3

基本色

Source:

setLineWidth(width)

線の太さを設定

Parameters:
Name Type Description
width number

線の太さ (画素単位)

Source:

setOpacity(opacity)

不透明度を設定

Parameters:
Name Type Description
opacity number

不透明度

Source:

setVisibility(visibility)

可視性フラグを設定

Parameters:
Name Type Description
visibility boolean

可視性フラグ

Inherited From:
Overrides:
Source: