Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
RoofStyle.cs
Go to the documentation of this file.
1using System;
2using UnityEngine;
3
4[Serializable]
5public class RoofStyle
6{
7 public enum Type
8 {
9 None = 0,
10 Default = 5,
11 DefaultNoTop = 6,
12 Flat = 7,
13 FlatFloor = 8,
14 Triangle = 9
15 }
16
17 public Type type;
18
19 public int w;
20
21 public int h;
22
23 public int flatW;
24
25 public bool useDefBlock;
26
27 public bool reverse;
28
29 public bool wing;
30
31 public bool maxHeight;
32
33 public bool coverLot;
34
35 public Vector3 posFix;
36
37 public Vector3 posFixBlock;
38
39 public Vector3 lowRoofFix;
40
41 public Vector3 snowFix;
42
43 public float snowZ = -0.01f;
44
45 public string GetName(int i)
46 {
47 if (i != 0)
48 {
49 return "Roof" + i;
50 }
51 return "None";
52 }
53}
Vector3 lowRoofFix
Definition: RoofStyle.cs:39
Vector3 posFix
Definition: RoofStyle.cs:35
bool reverse
Definition: RoofStyle.cs:27
int flatW
Definition: RoofStyle.cs:23
float snowZ
Definition: RoofStyle.cs:43
bool coverLot
Definition: RoofStyle.cs:33
Vector3 posFixBlock
Definition: RoofStyle.cs:37
bool useDefBlock
Definition: RoofStyle.cs:25
bool wing
Definition: RoofStyle.cs:29
string GetName(int i)
Definition: RoofStyle.cs:45
bool maxHeight
Definition: RoofStyle.cs:31
Vector3 snowFix
Definition: RoofStyle.cs:41
Type type
Definition: RoofStyle.cs:17