Documentation

Unity Engine

Download Unity

Unity Engine

HalfExtents

Computes the half extents of the AABB.
Read time 1 minuteLast updated 9 hours ago

Definition

public readonly 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.