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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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