Click or drag to resize
Ab4d.SharpEngine logo

BoundingBoxFromCenterAndSize Method

Constructs a BoundingBox that is defined by a center position and size.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public static BoundingBox FromCenterAndSize(
	 in Vector3 centerPosition,
	 in Vector3 size
)

Parameters

centerPosition  Vector3
centerPosition of the sphere
size  Vector3
size as Vector3

Return Value

BoundingBox
newly constructed bounding box
See Also