Google.Maps.Unity.Intersections.IntersectionFeature

A map feature representing an intersection overlay object.

Summary

Inheritance

Inherits from: Google.Maps.Feature.MapFeature

Constructors and Destructors

IntersectionFeature(TileCoord tileCoord, Intersection shape)
Constructor that takes a tile coordinate, and creates a new default metadata to associate with this feature.

Public attributes

Shape
readonly Intersection
The shape of this intersection feature.

Properties

DefaultGameObjectName
override string

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.

Public attributes

Shape

readonly Intersection Shape

The shape of this intersection feature.

Properties

DefaultGameObjectName

override string DefaultGameObjectName

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.

IntersectionFeature

 IntersectionFeature(
  TileCoord tileCoord,
  Intersection shape
)

Constructor that takes a tile coordinate, and creates a new default metadata to associate with this feature.