Position/orientation are based on one corner the box. Sides are
the full side lengths
Namespace: JigLibX.GeometryAssembly: JigLibX (in JigLibX.dll) Version: 0.3.1.0
Syntax
C# |
---|
public Box( Vector3 pos, Matrix orient, Vector3 sideLengths ) |
Visual Basic |
---|
Public Sub New ( _ pos As Vector3, _ orient As Matrix, _ sideLengths As Vector3 _ ) |
Visual C++ |
---|
public: Box( Vector3 pos, Matrix orient, Vector3 sideLengths ) |
Parameters
- pos
- Type: Vector3
[Missing <param name="pos"/> documentation for "M:JigLibX.Geometry.Box.#ctor(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Matrix,Microsoft.Xna.Framework.Vector3)"]
- orient
- Type: Matrix
[Missing <param name="orient"/> documentation for "M:JigLibX.Geometry.Box.#ctor(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Matrix,Microsoft.Xna.Framework.Vector3)"]
- sideLengths
- Type: Vector3
[Missing <param name="sideLengths"/> documentation for "M:JigLibX.Geometry.Box.#ctor(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Matrix,Microsoft.Xna.Framework.Vector3)"]