|  | 
| MeshFactorySetPlaneVerticesArray Method | 
            SetPlaneVerticesArray fills the PositionNormalTextureVertex array with position, normal and texture coordinates for the plane with specified parameters.
            If the specified verticesArray is null or its Length is not correct, then a new array of PositionNormalTextureVertex 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 SetPlaneVerticesArray(
	Vector3 centerPosition,
	Vector3 planeNormal,
	Vector3 planeHeightDirection,
	float width,
	float height,
	int widthSegments,
	int heightSegments,
	ref PositionNormalTextureVertex[]?? verticesArray,
	out BoundingBox? boundingBox
)
Parameters
- centerPosition  Vector3
- center position of the plane
- planeNormal  Vector3
- Vector3 that is perpendicular to the plane
- planeHeightDirection  Vector3
- Vector3 that defines the direction of the height
- width  Single
- width of the plane
- height  Single
- height of the plane
- widthSegments  Int32
- number of segments in the width direction
- heightSegments  Int32
- number of segments in the height direction
- verticesArray  PositionNormalTextureVertex
- array of PositionNormalTextureVertex items (by ref)
- boundingBox  BoundingBox
- BoundingBox (out parameter)
 See Also
See Also