BoundingBox.op_Multiply

BoundingBox Multiply operator

Operator overloading for multiply, new bounding box’s minimum and maximum corner will be transformed by the matrix.

public static BoundingBox operator *(BoundingBox bbox, Matrix4 mat)
ParameterTypeDescription
bboxBoundingBoxThe input bounding box.
matMatrix4The matrix used to transform the bounding box’s corners

Return Value

The product of bounding box and transform matrix.

See Also