Google. Maps. Feature. AreaWater
A MapFeature that represents a 2D body of water. For example, a lake.
Summary
Inheritance
Inherits from: Google.Maps.Feature.MapFeature
Constructors and Destructors |
|
---|---|
AreaWater(Area shape, MercatorTileCoords mercatorTileCoords, WaterMetadata metadata)
The AreaWater calss constructor.
|
Properties |
|
---|---|
DefaultGameObjectName
|
override string
The default name to use for the associated GameObject.
|
Metadata
|
The feature metadata as a WaterMetadata
|
Public attributes |
|
---|---|
Shape
|
readonly Area
A geometric representation of the Water.
|
Public functions |
|||
---|---|---|---|
GetShape()
|
virtual override MapFeatureShape
Returns the shape of a MapFeature if it has one.
Returns
|
|
Returns a MapFeatureShape instance representing the shape of the feature if it has one, otherwise returns null.
|
Properties
DefaultGameObjectName
override string DefaultGameObjectName
The default name to use for the associated GameObject.
This name is used when the MapFeatureMetadata does not have an explicit display name.
Public attributes
Public functions
AreaWater
AreaWater( Area shape, MercatorTileCoords mercatorTileCoords, WaterMetadata metadata )
The AreaWater calss constructor.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
GetShape
virtual override MapFeatureShape GetShape()
Returns the shape of a MapFeature if it has one.
Returns a MapFeatureShape instance representing the shape of the feature if it has one, otherwise returns null.