Google.Maps.Feature.Style.RegionishStyle

Encapsulates immutable styling information used to control how GameObjects are generated from Area related feature types such as Region and AreaWater.

Summary

Inheritance

Inherits from: Google.Maps.Feature.Style.IStyle
Direct Known Subclasses:Google.Maps.Feature.Style.AreaWaterStyle, Google.Maps.Feature.Style.RegionStyle

Public types

FillModeType{
  Auto,
  Color,
  Material
}
enum
A set of values that specify the type of fill mode, which can be either uniformly filled with a solid color, or textured with a material.

Properties

AlwaysCloneMaterials
bool
If true, then the styling system aggressively clones supplied materials before applying them to GameObjects, even if it's not necessary for correct layer rendering. If false, then the styling system uses the orginal supplied material without cloning, where possible.
Fill
bool
Specifies whether to draw the area with a fill. The default value is true.
FillColor
The color used to uniformly fill Areas. The default value is Color.magenta.
FillMaterial
Area fill material. If this is null then a reasonable default will be used. Compatible with materials produced using BaseMapMaterialUtils, which includes a utility for producing materials with a uniform color. Defaults to null.
FillMode
This is now deprecated. Please use FillMaterial instead. To get auto-coloring, set FillMaterial to null. To set a uniform color use FillMaterial in conjunction with BaseMapMaterialUtils.CreateUniformColoredMaterial.
Outline
bool
Specifies whether to draw the Area with an outline. The default value is false.
OutlineStyle
Styling information for the Area outline. The default value is SegmentStyle.DefaultStyle.

Classes

Google.Maps.Feature.Style.RegionishStyle.RegionishStyleBuilder

RegionishStyle builder.

Public types

FillModeType

 FillModeType

A set of values that specify the type of fill mode, which can be either uniformly filled with a solid color, or textured with a material.

Properties
Auto

Uniformly filled with a color that is automatically selected based on the region's type.

The behavior and availability of automatic coloring is subject to change with future versions of the SDK.

Color

Uniformly filled with a color.

Material

Textured with a material.

Properties

AlwaysCloneMaterials

bool AlwaysCloneMaterials

If true, then the styling system aggressively clones supplied materials before applying them to GameObjects, even if it's not necessary for correct layer rendering. If false, then the styling system uses the orginal supplied material without cloning, where possible.

Fill

bool Fill

Specifies whether to draw the area with a fill. The default value is true.

FillColor

Color FillColor

The color used to uniformly fill Areas. The default value is Color.magenta.

FillMaterial

Material FillMaterial

Area fill material. If this is null then a reasonable default will be used. Compatible with materials produced using BaseMapMaterialUtils, which includes a utility for producing materials with a uniform color. Defaults to null.

FillMode

FillModeType FillMode

This is now deprecated. Please use FillMaterial instead. To get auto-coloring, set FillMaterial to null. To set a uniform color use FillMaterial in conjunction with BaseMapMaterialUtils.CreateUniformColoredMaterial.

Outline

bool Outline

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

OutlineStyle

SegmentStyle OutlineStyle

Styling information for the Area outline. The default value is SegmentStyle.DefaultStyle.