NOTICE: Google Maps Platform gaming services is deprecated as of October 18, 2021. Current users will have continued access until December 31, 2022. During this time, we will continue to provide support and fixes to major bugs and outages. See the Gaming Services Transition Guide for resources to help you plan the next steps for your projects.

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.