RastermapPolygonEntity¶
RastermapPolygonEntity
Extends¶
Constructors¶
new RastermapPolygonEntity()¶
new RastermapPolygonEntity(
scene,opts?):RastermapPolygonEntity
Parameters¶
| Parameter | Type | Description |
|---|---|---|
scene |
Scene |
所属可能シーン |
opts? |
Option |
オプション集合 |
Returns¶
Overrides¶
AbstractRastermapPolygonEntity.constructor
Throws¶
Error
Properties¶
_altitude_mode¶
protected_altitude_mode:AltitudeMode=AltitudeMode.ABSOLUTE
高度モード
Inherited from¶
AbstractRastermapPolygonEntity._altitude_mode
_anchor_mode¶
protected_anchor_mode:boolean=false
アンカーモード
Inherited from¶
AbstractRastermapPolygonEntity._anchor_mode
_animation¶
protected_animation:any
今のところ Entity (基底クラス) 自体のアニメーション可能パラメータと 子孫は存在しないので animation には何も追加しない
Inherited from¶
AbstractRastermapPolygonEntity._animation
_attributions?¶
protectedoptional_attributions:Attributions=undefined
Inherited from¶
AbstractRastermapPolygonEntity._attributions
_bake_target¶
protected_bake_target:BakeTarget=Entity.BakeTarget.GROUND_AND_STRUCTURE
Inherited from¶
AbstractRastermapPolygonEntity._bake_target
_need_to_create_regions¶
protected_need_to_create_regions:boolean=false
再生成が必要であることを示すフラグ
Inherited from¶
AbstractRastermapPolygonEntity._need_to_create_regions
_pickable¶
protected_pickable:boolean=true
Viewer.pick() の対象とするかどうか
Inherited from¶
AbstractRastermapPolygonEntity._pickable
_primitive_producer¶
protected_primitive_producer:PrimitiveProducer
Inherited from¶
AbstractRastermapPolygonEntity._primitive_producer
_render_type¶
protected_render_type:RenderType=Entity.RenderType.NORMAL
Inherited from¶
AbstractRastermapPolygonEntity._render_type
_stencil_flag¶
protected_stencil_flag:boolean=false
Inherited from¶
AbstractRastermapPolygonEntity._stencil_flag
_visibility¶
protected_visibility:boolean=true
表示状態を示すフラグ
Inherited from¶
AbstractRastermapPolygonEntity._visibility
event_emitter¶
protectedevent_emitter:null|EventEmitter<EventMap,unknown>
Inherited from¶
AbstractRastermapPolygonEntity.event_emitter
scene¶
readonlyscene:Scene
所属可能シーン
Inherited from¶
AbstractRastermapPolygonEntity.scene
visualizer¶
protectedvisualizer:EntityVisualizer
Inherited from¶
AbstractRastermapPolygonEntity.visualizer
Accessors¶
altitude_mode¶
getaltitude_mode():AltitudeMode
高度モード取得
setaltitude_mode(value):void
高度モード設定
Parameters¶
| Parameter | Type |
|---|---|
value |
AltitudeMode |
Returns¶
anchor_mode¶
getanchor_mode():boolean
アンカーモード。
隠面処理により本来表示されない状況であっても、最前面に描画を行いマウスピックも可能となるような描画モード。 現在は、隠面処理により本来表示されない部分は半透明で描画されます。
このプロパティを有効にする場合は、下記の問題点に注意する必要があります。 - 透明・半透明モデルに適用することは想定されていません。透明・半透明モデルに対してこのプロパティを有効にすると表示が乱れる可能性があります。 - アンカーモードのエンティティどうしの前後判定はzソートにより実装されており、ピクセル単位の前後判定は行われません。
Returns¶
boolean
animation¶
getanimation():any
アニメーションパラメータ設定
Returns¶
any
bake_target¶
getbake_target():BakeTarget
setbake_target(bake_target):void
Parameters¶
| Parameter | Type |
|---|---|
bake_target |
BakeTarget |
Returns¶
render_type¶
getrender_type():RenderType
setrender_type(render_type):void
Parameters¶
| Parameter | Type |
|---|---|
render_type |
RenderType |
Returns¶
stencil_flag¶
getstencil_flag():boolean
Returns¶
boolean
visibility¶
getvisibility():boolean
可視性フラグを取得
Returns¶
boolean
Methods¶
clearAnnotationArea()¶
clearAnnotationArea():
void
Annotation領域の全削除
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.clearAnnotationArea
clearVisualizer()¶
clearVisualizer():
void
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.clearVisualizer
deleteAnnotationArea()¶
deleteAnnotationArea(
id):void
指定idのAnnotation領域の削除
Parameters¶
| Parameter | Type | Description |
|---|---|---|
id |
string |
識別文字列 |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.deleteAnnotationArea
getAttributions()¶
getAttributions():
undefined|Attributions
Attributions 取得
Returns¶
undefined | Attributions
Inherited from¶
AbstractRastermapPolygonEntity.getAttributions
getBounds()¶
getBounds():
GeoRegion
バウンディングボックスを算出
Returns¶
Inherited from¶
AbstractRastermapPolygonEntity.getBounds
getDefaultVisualizer()¶
protectedgetDefaultVisualizer():EntityVisualizer
Returns¶
Inherited from¶
AbstractRastermapPolygonEntity.getDefaultVisualizer
getFlakePrimitiveProducer()¶
getFlakePrimitiveProducer():
undefined|FlakePrimitiveProducer
FlakePrimitiveProducer インタフェースを取得
FlakePrimitiveProducer インタフェースを取得するためにシーンレンダラーが呼び出す。 FlakePrimitiveProducer インタフェースが実装されていなければ undefined を返す。
既定の実装は undefined を返す。
Returns¶
undefined | FlakePrimitiveProducer
FlakePrimitiveProducer インタフェース
Inherited from¶
AbstractRastermapPolygonEntity.getFlakePrimitiveProducer
getHeightTarget()¶
getHeightTarget():
HeightTarget
HeightTarget(Heatmapの処理対象)を取得
Returns¶
HeightTarget
Inherited from¶
AbstractRastermapPolygonEntity.getHeightTarget
getPrimitiveProducer()¶
getPrimitiveProducer():
undefined|PrimitiveProducer
PrimitiveProducer インタフェースを取得
PrimitiveProducer インタフェースを取得するためにシーンレンダラーが呼び出す。 PrimitiveProducer インタフェースが実装されていなければ undefined を返す。 既定の実装は undefined を返す。
Returns¶
undefined | PrimitiveProducer
PrimitiveProducer インタフェース
Inherited from¶
AbstractRastermapPolygonEntity.getPrimitiveProducer
getTarget()¶
getTarget():
Target
targetを取得
Returns¶
表示対象
getViewMode()¶
getViewMode():
ViewMode
viewmodeを取得
Returns¶
表示モード
getVisualizer()¶
getVisualizer():
EntityVisualizer
Returns¶
Inherited from¶
AbstractRastermapPolygonEntity.getVisualizer
isAttached()¶
isAttached():
boolean
Returns¶
boolean
Inherited from¶
AbstractRastermapPolygonEntity.isAttached
isPickable()¶
isPickable():
boolean
このEntityが Viewer.pick() による選択対象であるかを取得する。
Returns¶
boolean
Inherited from¶
AbstractRastermapPolygonEntity.isPickable
onChangeAltitudeMode()¶
protectedonChangeAltitudeMode(prev_mode):void
高度モードが変更された後の通知
this.altitude_mode が変更されたときに呼び出される。 既定の実装は何もしない。
Parameters¶
| Parameter | Type | Description |
|---|---|---|
prev_mode |
AltitudeMode |
直前のモード |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.onChangeAltitudeMode
setAlphaEnable()¶
setAlphaEnable(
enable):void
gl.BLENDの切り替え
Parameters¶
| Parameter | Type |
|---|---|
enable |
boolean |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setAlphaEnable
setAnchorMode()¶
Experimental
setAnchorMode(
anchor_mode):void
アンカーモードを設定。
Parameters¶
| Parameter | Type | Description |
|---|---|---|
anchor_mode |
boolean |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setAnchorMode
See¶
setAnnotationArea()¶
setAnnotationArea(
id,points):void
Annotation領域の追加または更新
Parameters¶
| Parameter | Type | Description |
|---|---|---|
id |
string |
識別文字列 |
points |
number[] |
経度, 緯度, 高さ... の配列 |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setAnnotationArea
setAttributions()¶
setAttributions(
attributions):void
Attributions 設定
Parameters¶
| Parameter | Type |
|---|---|
attributions |
undefined | Attributions |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setAttributions
setColormap()¶
setColormap(
colormap):void
Colormapを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
colormap |
Colormap |
メインのColormap |
Returns¶
void
setColormapArray()¶
protectedsetColormapArray(colormap_array,index):void
単体または複数のColormapを設定
Parameters¶
| Parameter | Type | Default value | Description |
|---|---|---|---|
colormap_array |
Colormap[] |
undefined |
Colormapの配列 |
index |
number |
0 |
表示するColormapの要素番号 |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setColormapArray
setHeightTarget()¶
setHeightTarget(
target):void
HeightTarget(Heatmapの処理対象)を設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
target |
HeightTarget |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setHeightTarget
setHeightmapArray()¶
protectedsetHeightmapArray(heightmap_array,index):void
単体または複数のHeightmapを設定
Parameters¶
| Parameter | Type | Default value | Description |
|---|---|---|---|
heightmap_array |
Heightmap[] |
undefined |
Heightmapの配列 |
index |
number |
0 |
表示するHeightmapの要素番号 |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setHeightmapArray
setHeightmapMainSub()¶
setHeightmapMainSub(
main,sub?):void
Heightmapを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
main |
Heightmap |
メインのHeightmap |
sub? |
Heightmap |
サブのHeightmap |
Returns¶
void
setMaterial()¶
setMaterial(
material):void
Materialを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
material |
RastermapPolygonMaterial |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setMaterial
setMode()¶
protectedsetMode(render_mode,height_target,animation_mode):void
表示するモードを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
render_mode |
RenderMode |
表示するモード |
height_target |
HeightTarget |
表示する対象のHeightmap |
animation_mode |
Animation |
アニメーションのモード |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setMode
setOrientation()¶
setOrientation(
value):void
モデルの向きを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
value |
Orientation |
モデルの向き |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setOrientation
setPickable()¶
setPickable(
pickable):void
このEntityを Viewer.pick() による選択対象とするかを設定する。
Parameters¶
| Parameter | Type | Description |
|---|---|---|
pickable |
boolean |
選択可能か否か |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setPickable
setPosition()¶
setPosition(
value):void
モデル原点位置を設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
value |
GeoPoint |
モデル原点の位置 |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setPosition
setScale()¶
setScale(
value):void
モデルのスケールを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
value |
Vector3 |
モデルのスケール |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setScale
setTarget()¶
setTarget(
target):void
targetを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
target |
Target |
表示する対象 |
Returns¶
void
setViewMode()¶
setViewMode(
viewmode):void
viewmodeを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
viewmode |
ViewMode |
表示するモード |
Returns¶
void
setVisibility()¶
setVisibility(
visibility):void
可視性フラグを設定
Parameters¶
| Parameter | Type | Description |
|---|---|---|
visibility |
boolean |
可視性フラグ |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setVisibility
setVisualizer()¶
setVisualizer(
visualizer):void
Parameters¶
| Parameter | Type |
|---|---|
visualizer |
EntityVisualizer |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setVisualizer
setZIndex()¶
setZIndex(
z_index):void
Z-Indexを設定。 大きいほど手前に表示される。(アンカーモード時のみ有効)
Parameters¶
| Parameter | Type |
|---|---|
z_index |
number |
Returns¶
void
Inherited from¶
AbstractRastermapPolygonEntity.setZIndex
use_stencil()¶
use_stencil():
boolean
Returns¶
boolean