Class BuildingConfig
Configuration for building dimensions and style. Use presets or create custom configs for different building types.
public sealed class BuildingConfig
- Inheritance
-
BuildingConfig
- Inherited Members
Constructors
BuildingConfig()
public BuildingConfig()
Properties
CeilingThickness
Ceiling thickness in meters
public float CeilingThickness { get; set; }
Property Value
Center
Room center point
public Vector3 Center { get; }
Property Value
- Vector3
Default
Default medium room (8m x 3m x 6m).
public static BuildingConfig Default { get; }
Property Value
Depth
Room depth in meters (Z axis)
public float Depth { get; set; }
Property Value
FloorThickness
Floor thickness in meters
public float FloorThickness { get; set; }
Property Value
Height
Room height in meters (Y axis)
public float Height { get; set; }
Property Value
Huge
Huge room for warehouses or showrooms (20m x 6m x 15m).
public static BuildingConfig Huge { get; }
Property Value
Large
Large room for retail or open offices (12m x 4m x 10m).
public static BuildingConfig Large { get; }
Property Value
Medium
Medium room for living spaces (8m x 3m x 6m).
public static BuildingConfig Medium { get; }
Property Value
Palette
Material and color palette
public BuildingPalette Palette { get; set; }
Property Value
Size
Room dimensions as Vector3(Width, Height, Depth)
public Vector3 Size { get; }
Property Value
- Vector3
Small
Small room suitable for offices or bedrooms (5m x 3m x 4m).
public static BuildingConfig Small { get; }
Property Value
Tiny
Small room suitable for closets or bathrooms (3m x 2.4m x 3m).
public static BuildingConfig Tiny { get; }
Property Value
WallThickness
Wall thickness in meters
public float WallThickness { get; set; }
Property Value
Warehouse
Warehouse style (20m x 6m x 15m) with industrial palette.
public static BuildingConfig Warehouse { get; }
Property Value
Width
Room width in meters (X axis)
public float Width { get; set; }
Property Value
Methods
Clone()
Create a copy of this config for modification.
public BuildingConfig Clone()
Returns
WithDimensions(float, float, float)
Set dimensions and return this config for chaining.
public BuildingConfig WithDimensions(float width, float height, float depth)
Parameters
Returns
WithPalette(BuildingPalette)
Set palette and return this config for chaining.
public BuildingConfig WithPalette(BuildingPalette palette)
Parameters
paletteBuildingPalette
Returns
WithWallThickness(float)
Set wall thickness and return this config for chaining.
public BuildingConfig WithWallThickness(float thickness)
Parameters
thicknessfloat