Google.Maps.Feature.Style.ModeledStructureStyle

Encapsulates immutable styling information used to control how GameObjects are generated from ModeledStructures.

Summary

Inheritance

Inherits from: Google.Maps.Feature.Style.IStyle

Public static attributes

DefaultStyle = new Builder().Build()
Default styles.

Properties

BuildingMaterial
Material
A Material to apply to the entire building. The default value is null.
Prefab
GameObject
If this property is set, then it replaces all of the GamesObjects that the style is applied to—with this prefab. The default value is null.

Public functions

AsBuilder()
Returns a new Builder based on this style object.

Classes

Google.Maps.Feature.Style.ModeledStructureStyle.Builder

The ModeledStructureStyle builder.

Public static attributes

DefaultStyle

readonly ModeledStructureStyle DefaultStyle = new Builder().Build()

Default styles.

Properties

BuildingMaterial

Material BuildingMaterial

A Material to apply to the entire building. The default value is null.

Prefab

GameObject Prefab

If this property is set, then it replaces all of the GamesObjects that the style is applied to—with this prefab. The default value is null.

Public functions

AsBuilder

Builder AsBuilder()

Returns a new Builder based on this style object.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution