HalfExtents
Computes the half extents of the AABB.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Property
- Namespace: Unity.Mathematics.Geometry
- Assembly: UnityEngine.MathematicsModule
public float3 HalfExtents { get; }
Remarks
HalfExtents is half of the componentwise distance between min and max. Subtracting HalfExtents from Center gives Min and adding HalfExtents to Center gives Max.