ObjectHelper.AABB
Summary
Axis Aligned Bounding Box.
In order to keep things simple and limit space complexity, this class holds minimal mandatory properties.
Constructor
ObjectHelper.AABB
Syntax
ObjectHelper.AABB
-
max -
min
Summary
Parameters:
-
maxBABYLON.Vector3the point of the box which is the greatest ( in world reference )
-
minBABYLON.Vector3the point of the box which is the smallest ( in world reference )
Item Index
Methods
Methods
copyFromOBB
Syntax
copyFromOBB
-
OBB
Summary
Sets the AABB in order to define the minimal volume that encloses the OBB given in argument. /!\ The resulting AABB may not fit exactly the OBB volume due to rotation limitations.
Parameters:
-
OBBOBBthe Oriented Bounding Box
Returns:
this
copyFromOyBB
Syntax
copyFromOyBB
-
OyBB
Summary
Sets the AABB in order to define the minimal volume that encloses the OyBB given in argument. /!\ The resulting AABB may not fit exactly the OyBB volume due to rotation limitations.
Parameters:
-
OyBBOyBBthe Bounding Box Oriented along y axis
Returns:
this