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

Google.Maps.Feature.Style.Settings.AreaWaterStyleSettings

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(AreaWaterStyle style)
Apply settings to AreaWaterStyle.

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

AreaWaterStyle Apply(
  AreaWaterStyle style
)

Apply settings to AreaWaterStyle.

Details
Parameters
style
AreaWaterStyle to apply settings to.
Returns
New AreaWaterStyle with settings applied to it.