Google.Maps.Feature.Style.RegionishStyle.RegionishStyleBuilder

RegionishStyle builder.

Summary

Properties

AlwaysCloneMaterials
bool
If true, then the styling system aggressively clones supplied materials before applying 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
FillMaterial
The material used to fill the area. This value will be null for non-textured areas. The default value is null.
FillMode
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.

Protected functions

RegionishStyleBuilder()
The RegionishStyleBuider class default constructor.
RegionishStyleBuilder(RegionishStyle style)
A copy constructor that shallow-copies style values into the builder. Use this copy constructor when you want to create a new style object based on an existing RegionishStyle.

Properties

AlwaysCloneMaterials

bool AlwaysCloneMaterials

If true, then the styling system aggressively clones supplied materials before applying 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

FillMaterial

Material FillMaterial

The material used to fill the area. This value will be null for non-textured areas. The default value is null.

FillMode

FillModeType FillMode

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.

Protected functions

RegionishStyleBuilder

 RegionishStyleBuilder()

The RegionishStyleBuider class default constructor.

RegionishStyleBuilder

 RegionishStyleBuilder(
  RegionishStyle style
)

A copy constructor that shallow-copies style values into the builder. Use this copy constructor when you want to create a new style object based on an existing RegionishStyle.

Details
Parameters
style
The Style object.