Click or drag to resize
AB4D logo

BoundsSetBoundingBox(BoundingBox, Boolean) Method

Sets the BoundingBox property value. When checkForEmpty parameter is true, it also checks if the new BoundingBox is empty and sets the IsEmpty property accordingly. If checkForEmpty parameter is false, then the IsEmpty property is set to false. To set the BoundingBox to empty value call the Clear method.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void SetBoundingBox(
	BoundingBox boundingBox,
	bool checkForEmpty = false
)

Parameters

boundingBox  BoundingBox
BoundingBox
checkForEmpty  Boolean  (Optional)
true to check if the BoundingBox is empty.
See Also