 |
MeshFactoryAddPlaneVertices Method |
AddPlaneVertices adds PositionNormalTextureVertex for the plane with specified parameters to the existing IList of vertices.
The method also updates the boundingBox of the positions.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static void AddPlaneVertices(
Vector3 centerPosition,
Vector3 planeNormal,
Vector3 planeHeightDirection,
float width,
float height,
int widthSegments,
int heightSegments,
IList<PositionNormalTextureVertex> verticesList,
ref 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
- verticesList IListPositionNormalTextureVertex
- IList of PositionNormalTextureVertex items
- boundingBox BoundingBox
- BoundingBox (by ref)
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.MeshFactory.AddPlaneVertices(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3,System.Single,System.Single,System.Int32,System.Int32,System.Collections.Generic.IList{Ab4d.SharpEngine.Common.PositionNormalTextureVertex},Ab4d.SharpEngine.Common.BoundingBox@)"]
See Also