コンテンツにスキップ

VectilePickResult

ピック結果(ベクトルタイル)

Extends

  • PickResultBase

Properties

b3d_scene?

optional b3d_scene: B3dScene

ピックしたB3dオブジェクトのインスタンス (種類が Viewer.Category.B3D_SCENE のとき、追加されるプロパティ) ピック位置にB3dがない場合は undefined になります。

3D Tiles のシーンは tiles3d_scene に入る。両者が同時に入ることはない。

Inherited from

PickResultBase.b3d_scene


category

category: "vectile"

Inherit Doc

Overrides

PickResultBase.category


distance

distance: number

ピックした位置までの距離 (ray.direction の長さが単位 / pick の時はm)

Inherited from

PickResultBase.distance


entity?

optional entity: Entity

ピックしたエンティティ。ピック位置にエンティティがない場合は undefined になります。

Inherited from

PickResultBase.entity


point_cloud?

optional point_cloud: PointCloud

ピックした点群。 ピック位置に点群がない場合は undefined になります。

Inherited from

PickResultBase.point_cloud


position

position: Vector3

ピックした位置 (GOCS)

Inherited from

PickResultBase.position


tile_content?

optional tile_content: Tiles3DContent

ピックした 3D Tiles のコンテンツインスタンス (種類が Viewer.Category.TILES_3D のとき、追加されるプロパティ) ピック位置に 3D Tiles コンテンツがない場合は undefined になる。

Inherited from

PickResultBase.tile_content


tile_feature_id?

Experimental

optional tile_feature_id: number

3D Tiles (mapray.Tiles3DScene) の feature ID (種類が Viewer.Category.TILES_3D のとき、追加されるプロパティ)

glTF の _FEATURE_ID_* / _BATCHID の値で、tile_content と対にして mapray.Tiles3DScene.setFeatureState へそのまま渡せる。 b3dtile の場合は代わりに feature_id に入る。

Inherited from

PickResultBase.tile_feature_id


tiles3d_scene?

Experimental

optional tiles3d_scene: Tiles3DScene

ピックした 3D Tiles シーンのインスタンス (種類が Viewer.Category.TILES_3D のとき、追加されるプロパティ) ピック位置に 3D Tiles がない場合は undefined になる。

b3dtile のシーンは b3d_scene に入る。両者が同時に入ることはない。

Inherited from

PickResultBase.tiles3d_scene


vectile

vectile: object

Inherit Doc

feature

feature: Feature

layer

layer: StyleLayer

Overrides

PickResultBase.vectile