feat: configure outdoor texture scale and rotation per area
This commit is contained in:
1 parent
d8cf076019
commit
c56f1a5ba9
26 files changed
+1958
-1778
No files matched your search
@@ -666,6 +666,13 @@ OUTDOOR_SCHEMA = vol.Schema(
|
||||
vol.Optional("slope_dir", default="x"): vol.In(["x", "-x", "z", "-z"]),
|
||||
# how opaque the area is drawn (None = fully)
|
||||
vol.Optional("opacity", default=None): vol.Any(None, vol.All(vol.Coerce(float), vol.Range(min=0.1, max=1))),
|
||||
# per-area pattern size and rotation; None keeps legacy appearance
|
||||
vol.Optional("texture_scale", default=None): vol.Any(
|
||||
None, vol.All(vol.Coerce(float), vol.Range(min=0.05, max=20))
|
||||
),
|
||||
vol.Optional("texture_rotation", default=None): vol.Any(
|
||||
None, vol.All(vol.Coerce(float), vol.Range(min=-360, max=360))
|
||||
),
|
||||
# fences and pergolas: the closing edge is left out; pergola: X-bracing on the sides
|
||||
vol.Optional("open", default=False): bool,
|
||||
vol.Optional("bracing", default=False): bool,
|
||||
|
||||
Reference in new issue
Block a user