class_LayerPolygonRenderer
title: class LayerPolygonRenderer toc_max_heading_level: 4
class LayerPolygonRenderer
(Niantic.Lightship.Maps.MapLayers.Components.LayerPolygonRenderer)
概要
このMapLayerComponentは、マップ上にポリゴンを描きます。
class LayerPolygonRenderer: Niantic.Lightship.Maps.MapLayers.Components.BaseTypes.MapLayerComponent {
public:
// メソッド
PooledObject<GameObject> DrawPolygon(
IReadOnlyList<LatLng> outline,
string instanceName = null
);
virtual override void Initialize(
LightshipMapView lightshipMapView,
GameObject parent
);
virtual override void OnMapOriginChanged();
};
継承メンバー
public:
// メソッド
virtual void Initialize(LightshipMapView lightshipMapView, GameObject parent);
virtual abstract void OnMapOriginChanged() = 0;
```cs
protected:
// フィールド
LightshipMapView LightshipMapView;
GameObject ParentMapLayer;
詳細なドキュメント
このMapLayerComponentは、マップ上にポリゴンを描きます。
メソッド
DrawPolygon
PooledObject<GameObject> DrawPolygon(
IReadOnlyList<LatLng> outline,
string instanceName = null
)