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.Builder

The ModeledStructureStyle builder.

Summary

Inheritance

Inherits from: GameObjectStyleBuilder

Constructors and Destructors

Builder()
The Builder class default constructor.
Builder(ModeledStructureStyle style)
A copy constructor that shallow-copies style values into the builder.

Properties

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

Public functions

Build()
Builds a new ModeledStructureStyle from the values set on the builder.

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 with a value, then it replaces all of the GamesObjects that the style is applied to—with this prefab. The default value is null.

Public functions

Build

ModeledStructureStyle Build()

Builds a new ModeledStructureStyle from the values set on the builder.

Builder

 Builder()

The Builder class default constructor.

Builder

 Builder(
  ModeledStructureStyle 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 ModeledStructureStyle.

Details
Parameters
style
The Style object.