Struct FixedBoundArea.BoundingAreaState
- Namespace
- FixedMathSharp.Geometry
- Assembly
- FixedMathSharp.dll
Represents the normalized serializable state of a two-dimensional axis-aligned bounding area.
[MemoryPackable(GenerateType.Object)]
public readonly struct FixedBoundArea.BoundingAreaState : IMemoryPackable<FixedBoundArea.BoundingAreaState>, IMemoryPackFormatterRegister
- Implements
-
IMemoryPackFormatterRegister
- Inherited Members
Constructors
BoundingAreaState(Vector2d, Vector2d)
Initializes a normalized state from minimum and maximum corners.
[JsonConstructor]
public BoundingAreaState(Vector2d min, Vector2d max)
Parameters
Fields
Max
The maximum corner of the area.
[JsonInclude]
[MemoryPackInclude]
public readonly Vector2d Max
Field Value
Min
The minimum corner of the area.
[JsonInclude]
[MemoryPackInclude]
public readonly Vector2d Min