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

Google.Maps.Feature.Style.Settings.ExtrudedStructureStyleSettings

Scriptable object for extruded structure settings.

Summary

Inheritance

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

Public attributes

ApplyFixedHeight = false
bool
Specifies whether to override the ExtrudedStructure's height with FixedHeight.
DefaultBuildingHeight = 10.0f
float
The height applied to buildings extruded from a footprint only. This applies to buildings that contain no height information.
FixedHeight = 10.0f
float
When ApplyFixedHeight is set to true, the ExtrudedStructure is scaled to this height, measured in meters.
RoofMaterial
Material
The material to apply to the roofs of extruded structures.
RoofMaterialAlignment
The type of alignment used to align the roof material.
WallMaterial
Material
The material to apply to the exterior walls of extruded structures.

Public functions

Apply(ExtrudedStructureStyle style)
Apply settings to ExtrudedStructureStyle.

Public attributes

ApplyFixedHeight

bool ApplyFixedHeight = false

Specifies whether to override the ExtrudedStructure's height with FixedHeight.

DefaultBuildingHeight

float DefaultBuildingHeight = 10.0f

The height applied to buildings extruded from a footprint only. This applies to buildings that contain no height information.

FixedHeight

float FixedHeight = 10.0f

When ApplyFixedHeight is set to true, the ExtrudedStructure is scaled to this height, measured in meters.

RoofMaterial

Material RoofMaterial

The material to apply to the roofs of extruded structures.

RoofMaterialAlignment

ExtrudedStructureStyle.RoofMaterialAlignmentType RoofMaterialAlignment

The type of alignment used to align the roof material.

WallMaterial

Material WallMaterial

The material to apply to the exterior walls of extruded structures.

Public functions

Apply

ExtrudedStructureStyle Apply(
  ExtrudedStructureStyle style
)

Apply settings to ExtrudedStructureStyle.

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