|  | 
| MeshFactorySetBoxVerticesArray Method | 
            SetBoxVerticesArray fills the PositionNormalTextureVertex array with position, normal and texture coordinates for the box with specified parameters.
            If the specified vertexBufferArray is null or its Length is not 24, then a new array of PositionNormalTextureVertex with 24 items is created.
            The method also sets the boundingBox of the positions.
            
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic static void SetBoxVerticesArray(
	Vector3 centerPosition,
	Vector3 size,
	ref PositionNormalTextureVertex[]?? verticesArray,
	out BoundingBox? boundingBox
)
Parameters
- centerPosition  Vector3
- box center position
- size  Vector3
- box size
- verticesArray  PositionNormalTextureVertex
- array of 24 PositionNormalTextureVertex items (by ref)
- boundingBox  BoundingBox
- BoundingBox (out parameter)
 See Also
See Also