Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Gets the center point of this bounding box with an offset
Namespace: Visual3DAssembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public static Vector3 GetBoxCenterWithVerticalOffset( ref BoundingBox box, float verticalOffset )
Public Shared Function GetBoxCenterWithVerticalOffset ( _ ByRef box As BoundingBox, _ verticalOffset As Single _ ) As Vector3
Parameters
- box
- BoundingBox%
- verticalOffset
- Single
Offset from Bottom, where 0=Bottom, 0.5f=Middle, and 1=Top of box.