Struct PluginDungeonCell
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
One cell of a floorplan: where it is and which layer it was drawn in.
public readonly record struct PluginDungeonCell : IEquatable<PluginDungeonCell>
- Implements
- Inherited Members
Constructors
PluginDungeonCell(uint, Vector3, float)
One cell of a floorplan: where it is and which layer it was drawn in.
public PluginDungeonCell(uint CellId, Vector3 Center, float LayerZ)
Parameters
CellIduintThe full cell id, landblock in the high half.
CenterVector3The middle of the cell's geometry, in landblock-local metres.
LayerZfloatThe Z of the layer the cell is drawn in.
Properties
CellId
The full cell id, landblock in the high half.
public uint CellId { get; init; }
Property Value
Center
The middle of the cell's geometry, in landblock-local metres.
public Vector3 Center { get; init; }
Property Value
LayerZ
The Z of the layer the cell is drawn in.
public float LayerZ { get; init; }