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