Class LineLayer
The parent entity for a instance of a Line Layer - that holds one MultiLineString FeatureCollection
Assembly: cs.temp.dll.dll
Syntax
public class LineLayer : VirgisLayer<GeographyCollection, FeatureCollection>, IVirgisLayer, IVirgisEntity
Fields
CubePrefab
Declaration
public GameObject CubePrefab
Field Value
Type |
Description |
GameObject |
|
CuboidLinePrefab
Declaration
public GameObject CuboidLinePrefab
Field Value
Type |
Description |
GameObject |
|
CylinderLinePrefab
Declaration
public GameObject CylinderLinePrefab
Field Value
Type |
Description |
GameObject |
|
CylinderPrefab
Declaration
public GameObject CylinderPrefab
Field Value
Type |
Description |
GameObject |
|
LabelPrefab
Declaration
public GameObject LabelPrefab
Field Value
Type |
Description |
GameObject |
|
LineBaseMaterial
Declaration
public Material LineBaseMaterial
Field Value
Type |
Description |
Material |
|
PointBaseMaterial
Declaration
public Material PointBaseMaterial
Field Value
Type |
Description |
Material |
|
SpherePrefab
Declaration
public GameObject SpherePrefab
Field Value
Type |
Description |
GameObject |
|
Methods
_addFeature(Vector3[])
Declaration
protected override VirgisFeature _addFeature(Vector3[] geometry)
Parameters
Type |
Name |
Description |
Vector3[] |
geometry |
|
Returns
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>._addFeature(Vector3[])
_checkpoint()
Declaration
protected override void _checkpoint()
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>._checkpoint()
_draw()
Declaration
protected override void _draw()
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>._draw()
_drawFeature(Vector3[], Boolean, String, Dictionary<String, Object>)
Draws a single feature based on world scale coordinates
Declaration
protected VirgisFeature _drawFeature(Vector3[] line, bool Lr = false, string gisId = null, Dictionary<string, object> properties = null)
Parameters
Type |
Name |
Description |
Vector3[] |
line |
Vector3[] coordinates
|
Boolean |
Lr |
boolean Is the line a linear ring , deafult false
|
String |
gisId |
string Id
|
Dictionary<String, Object> |
properties |
Dictionary properties
|
Returns
_init(GeographyCollection)
Declaration
protected override Task _init(GeographyCollection layer)
Parameters
Returns
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>._init(Project.GeographyCollection)
_save()
Declaration
protected override Task _save()
Returns
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>._save()
GetFeatureShape()
Declaration
public override GameObject GetFeatureShape()
Returns
Type |
Description |
GameObject |
|
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>.GetFeatureShape()
MoveAxis(MoveArgs)
Declaration
public override void MoveAxis(MoveArgs args)
Parameters
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>.MoveAxis(Virgis.MoveArgs)
Translate(MoveArgs)
Declaration
public override void Translate(MoveArgs args)
Parameters
Overrides
Virgis.VirgisLayer<Project.GeographyCollection, FeatureCollection>.Translate(Virgis.MoveArgs)
Implements