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.