Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MinMaxAABB(float3, float3)

Constructs the AABB with the given minimum and maximum.
Read time 1 minuteLast updated 12 days ago

Definition

public MinMaxAABB(float3 min, float3 max)

Parameters

Minimum point inside AABB.

Maximum point inside AABB.

Remarks

If you have a center and extents, you can call MinMaxAABB.CreateFromCenterAndExtents or MinMaxAABB.CreateFromCenterAndHalfExtents to create the AABB.