实验性
静态
create实验性
Create a validated instance of a BoundingBox where the min and max components are guaranteed to be (min <= max)
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
静态
dilate实验性
Return a new BoundingBox object representing the changes
Expand a BoundingBox by a given amount along each axis. Sizes can be negative to perform contraction. Note: corners can be inverted if the contraction size is greater than the span, but the min/max relationship will remain correct
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
静态
equals实验性
静态
expand实验性
A new BoundingBox instance representing the smallest possible bounding box which can encompass both
Expand the initial box object bounds to include the 2nd box argument. The resultant BoundingBox object will be a BoundingBox which exactly encompasses the two boxes.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
静态
get实验性
Note that BoundingBox objects represent whole blocks, so the center of boxes which have odd numbered bounds are not mathematically centered... i.e. a BoundingBox( 0,0,0 -> 3,3,3 ) would have a center of (1,1,1) (not (1.5, 1.5, 1.5) as expected)
静态
get实验性
Calculate the BoundingBox which represents the union area of two intersecting BoundingBoxes
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
静态
get实验性
静态
intersects实验性
静态
is实验性
静态
is实验性
静态
translate实验性
Return a new BoundingBox object which represents the change
Bounding Box Utils is a utility class that provides a number of useful functions for the creation and utility of BoundingBox objects