NOTICE: Google Maps Platform gaming services is deprecated as of October 18, 2021. Current users will have continued access until December 31, 2022. During this time, we will continue to provide support and fixes to major bugs and outages. See the Gaming Services Transition Guide for resources to help you plan the next steps for your projects.
Stay organized with collections Save and categorize content based on your preferences.

Google.Maps.Feature.LineWater

A MapFeature that represents a line-like water feature. For example, a river.

Summary

Inheritance

Inherits from: Google.Maps.Feature.MapFeature

Constructors and Destructors

LineWater(LineGroup shape, MercatorTileCoords mercatorTileCoords, WaterMetadata metadata)
The LineWater class 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 LineGroup
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 doesn't have an explicit display name.

Metadata

WaterMetadata Metadata

The feature metadata as a WaterMetadata

Public attributes

Shape

readonly LineGroup Shape

A geometric representation of the Water.

Public functions

GetShape

virtual override MapFeatureShape GetShape()

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.

LineWater

 LineWater(
  LineGroup shape,
  MercatorTileCoords mercatorTileCoords,
  WaterMetadata metadata
)

The LineWater class constructor.

Details
Parameters
shape
Geometric representation of the Water.
mercatorTileCoords
The coordinates of the tile containing this feature.
metadata
Associated metadata.