Google. Maps. Feature. ExtrudedStructure
A MapFeature that represents an extruded structure.
Summary
For example, a building extruded from footprint and height data.
Backed by ExtrudedArea shape geometry.
Inheritance
Inherits from: Google.Maps.Feature.MapFeature
Constructors and Destructors |
|
---|---|
ExtrudedStructure(ExtrudedArea shape, MercatorTileCoords mercatorTileCoords, StructureMetadata metadata)
The ExtrudedStructure class constructor.
|
Properties |
|
---|---|
DefaultGameObjectName
|
override string
The default name to use for the associated GameObject.
|
Metadata
|
The feature metadata as a StructureMetadata.
|
Public attributes |
|
---|---|
Shape
|
readonly ExtrudedArea
A geometric representation of the ExtrudedStructure.
|
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.
|
ToString()
|
override string
|
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.
Public attributes
Public functions
ExtrudedStructure
ExtrudedStructure( ExtrudedArea shape, MercatorTileCoords mercatorTileCoords, StructureMetadata metadata )
The ExtrudedStructure class 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.
ToString
override string ToString()