Google. Maps. Feature. Style. ExtrudedStructureStyle. Builder
The ExtrudedStructureStyle builder.
Summary
Inheritance
Inherits from: Google.Maps.GameObjectStyle.GameObjectStyleBuilder
Constructors and Destructors |
|
---|---|
Builder()
The Builder class default constructor.
|
|
Builder(ExtrudedStructureStyle style)
A Builder 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 ExtrudedStructureStyle.
|
Properties |
|
---|---|
ApplyFixedHeight
|
bool
Specifies whether to override the ExtrudedStructure's height with FixedHeight. The default value is false.
|
ExtrudedBuildingFootprintHeight
|
float
The height applied to buildings extruded from a footprint only. This applies to buildings that contain no height information. The default value is 10.
|
FixedHeight
|
float
When ApplyFixedHeight is set to true, the ExtrudedStructure is scaled to this height, measured in meters. The default value is 1.
|
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.
|
RoofMaterial
|
Material
The ExtrudedStructure's roof material. The default value is null.
|
RoofMaterialAlignment
|
The type of alignment used to align the roof material, as one of the ExtrudedStructureStyle.RoofMaterialAlignmentType enumeration values.
|
WallMaterial
|
Material
The ExtrudedStructure's wall material. The default value is null.
|
Public functions |
|
---|---|
Build()
|
Builds a new ExtrudedStructureStyle object from the values set on the builder.
|
Properties
ApplyFixedHeight
bool ApplyFixedHeight
Specifies whether to override the ExtrudedStructure's height with FixedHeight. The default value is false.
ExtrudedBuildingFootprintHeight
float ExtrudedBuildingFootprintHeight
The height applied to buildings extruded from a footprint only. This applies to buildings that contain no height information. The default value is 10.
When the value of this property is 0, footprint-only buildings aren't extruded, and appear on the map as normal regions.
FixedHeight
float FixedHeight
When ApplyFixedHeight is set to true, the ExtrudedStructure is scaled to this height, measured in meters. The default value is 1.
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.
RoofMaterial
Material RoofMaterial
The ExtrudedStructure's roof material. The default value is null.
RoofMaterialAlignment
RoofMaterialAlignmentType RoofMaterialAlignment
The type of alignment used to align the roof material, as one of the ExtrudedStructureStyle.RoofMaterialAlignmentType enumeration values.
WallMaterial
Material WallMaterial
The ExtrudedStructure's wall material. The default value is null.
Public functions
Build
ExtrudedStructureStyle Build()
Builds a new ExtrudedStructureStyle object from the values set on the builder.
Builder
Builder()
The Builder class default constructor.
Builder
Builder( ExtrudedStructureStyle style )
A Builder 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 ExtrudedStructureStyle.
Details | |||
---|---|---|---|
Parameters |
|