Google.Maps.Feature.Style.ModeledStructureStyle

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

Summary

Inheritance

Inherits from: Google.Maps.GameObjectStyle

Public static attributes

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

Properties

Material
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

Material

Material Material

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.