Struct FixedBoundSphere.BoundingSphereState
- Namespace
- FixedMathSharp.Geometry
- Assembly
- FixedMathSharp.dll
Represents the normalized serializable state of a three-dimensional spherical bound.
[MemoryPackable(GenerateType.Object)]
public readonly struct FixedBoundSphere.BoundingSphereState : IMemoryPackable<FixedBoundSphere.BoundingSphereState>, IMemoryPackFormatterRegister
- Implements
-
IMemoryPackFormatterRegister
- Inherited Members
Constructors
BoundingSphereState(Vector3d, Fixed64)
Initializes a normalized state from center and radius.
[JsonConstructor]
public BoundingSphereState(Vector3d center, Fixed64 radius)
Parameters
Fields
Center
The center point of the sphere.
[JsonInclude]
[MemoryPackInclude]
public readonly Vector3d Center
Field Value
Radius
The non-negative radius of the sphere. Assigned values are normalized by absolute value.
[JsonInclude]
[MemoryPackInclude]
public readonly Fixed64 Radius