 |
BoundingBoxFromCenterAndSize Method |
Constructs a BoundingBox that is defined by a center position and size.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static BoundingBox FromCenterAndSize(
in Vector3 centerPosition,
in Vector3 size
)
Parameters
- centerPosition Vector3
- centerPosition of the sphere
- size Vector3
- size as Vector3
Return Value
BoundingBoxnewly constructed bounding box
See Also