Google. Maps. Feature. RegionMetadata
A Unity-independent representation of immutable properties of a land region.
Summary
Inheritance
Inherits from: Google.Maps.Feature.MapFeatureMetadata
Constructors and Destructors |
|
---|---|
RegionMetadata(string placeId, string name, UsageType usage)
The RegionMetadata class constructor.
|
Public types |
|
---|---|
UsageType{
|
enum A set of values the specify how a Region is used. |
Public static attributes |
|
---|---|
BeachColor = new Color(0.980f, 0.949f, 0.780f)
|
readonly Color
The default color of beaches.
|
ForestColor = new Color(0.427f, 0.596f, 0.165f)
|
readonly Color
The default color of forests.
|
GenericRegionColor = new Color(0.862f, 0.862f, 0.862f)
|
readonly Color
The default color of generic Regions.
|
ParkColor = new Color(0.851f, 0.914f, 0.725f)
|
readonly Color
The default color of parks.
|
UndefinedRegionColor = new Color(0.862f, 0.862f, 0.862f)
|
readonly Color
The default color of undefined Regions.
|
Public attributes |
|
---|---|
Usage
|
readonly UsageType
Specifies the way in which the Region is used.
|
Public static functions |
|
---|---|
DefaultColorForUsageType(UsageType featureType)
|
Color
Returns the default color for the given UsageType.
|
Public types
UsageType
UsageType
Public static attributes
BeachColor
readonly Color BeachColor = new Color(0.980f, 0.949f, 0.780f)
The default color of beaches.
ForestColor
readonly Color ForestColor = new Color(0.427f, 0.596f, 0.165f)
The default color of forests.
GenericRegionColor
readonly Color GenericRegionColor = new Color(0.862f, 0.862f, 0.862f)
The default color of generic Regions.
ParkColor
readonly Color ParkColor = new Color(0.851f, 0.914f, 0.725f)
The default color of parks.
UndefinedRegionColor
readonly Color UndefinedRegionColor = new Color(0.862f, 0.862f, 0.862f)
The default color of undefined Regions.
Public attributes
Public functions
RegionMetadata
RegionMetadata( string placeId, string name, UsageType usage )
Public static functions
DefaultColorForUsageType
Color DefaultColorForUsageType( UsageType featureType )
Returns the default color for the given UsageType.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
The color for the UsageType.
|