MinMaxAABB(float3, float3)
Constructs the AABB with the given minimum and maximum.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: Unity.Mathematics.Geometry
- Assembly: UnityEngine.MathematicsModule
public MinMaxAABB(float3 min, float3 max)
Parameters
Remarks
If you have a center and extents, you can call MinMaxAABB.CreateFromCenterAndExtents or MinMaxAABB.CreateFromCenterAndHalfExtents to create the AABB.