Class DungeonRoom
One saved dungeon room: its prefab-name hash (Of(string) of the room prefab's name), position and rotation as Euler angles in degrees, as the dungeon generator saved them. Index is its place in the save.
public sealed record DungeonRoom
- Inheritance
-
objectDungeonRoom
Constructors
DungeonRoom(int, int, float, float, float, float, float, float)
One saved dungeon room: its prefab-name hash (Of(string) of the room prefab's name), position and rotation as Euler angles in degrees, as the dungeon generator saved them. Index is its place in the save.
public DungeonRoom(int Index, int Hash, float X, float Y, float Z, float RotationX, float RotationY, float RotationZ)
Parameters
IndexintHashintXfloatYfloatZfloatRotationXfloatRotationYfloatRotationZfloat
Properties
Hash
public int Hash { get; init; }
Property Value
- int
Index
public int Index { get; init; }
Property Value
- int
RotationX
public float RotationX { get; init; }
Property Value
- float
RotationY
public float RotationY { get; init; }
Property Value
- float
RotationZ
public float RotationZ { get; init; }
Property Value
- float
X
public float X { get; init; }
Property Value
- float
Y
public float Y { get; init; }
Property Value
- float
Z
public float Z { get; init; }
Property Value
- float