Table of Contents

Enum SpatialFieldType

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Compact discriminator for the spatial field type on a component. Maps to the Schema.Definition FieldType values but is a lightweight internal representation.

public enum SpatialFieldType : byte

Fields

AABB2D = 4

2D axis-aligned bounding box, double-precision (f64).

AABB2F = 0

2D axis-aligned bounding box, single-precision (f32).

AABB3D = 5

3D axis-aligned bounding box, double-precision (f64).

AABB3F = 1

3D axis-aligned bounding box, single-precision (f32).

BSphere2D = 6

2D bounding sphere (circle), double-precision (f64).

BSphere2F = 2

2D bounding sphere (circle), single-precision (f32).

BSphere3D = 7

3D bounding sphere, double-precision (f64).

BSphere3F = 3

3D bounding sphere, single-precision (f32).