It's the 15th anniversary of Google Maps Platform - Check out the latest news and announcements

Google.Maps.Feature.Style.Settings.RegionStyleSettings

Style settings scriptable object for area water styles.

Summary

Inheritance

Inherits from: Google.Maps.Feature.Style.Settings.AbstractStyleSettings

Public attributes

FillMaterial
Material
The material used to fill the area.
Outline
Specifies whether to draw the Area with an outline. The default value is false.

Protected functions

OnValidate()
virtual override void
Handle Unity's OnValidate event.

Public functions

Apply(RegionStyle style)
Apply settings to RegionStyle.

Public attributes

FillMaterial

Material FillMaterial

The material used to fill the area.

Outline

SegmentStyleSettings Outline

Specifies whether to draw the Area with an outline. The default value is false.

Protected functions

OnValidate

virtual override void OnValidate()

Handle Unity's OnValidate event.

Public functions

Apply

RegionStyle Apply(
  RegionStyle style
)

Apply settings to RegionStyle.

Details
Parameters
style
RegionStyle to apply settings to.
Returns
New RegionStyle with settings applied.