 |
MeshFactoryCreatePyramidMesh Method |
CreatePyramidMesh creates a plane and returns StandardMesh with filled vertices array and index array.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static StandardMesh CreatePyramidMesh(
Vector3 bottomCenterPosition,
Vector3 size,
string? name = null
)
Parameters
- bottomCenterPosition Vector3
- center position of the bottom rectangle that defines the pyramid
- size Vector3
- size of pyramid as Size3D
- name String (Optional)
- optional name for the mesh
Return Value
StandardMeshStandardMesh with filled vertices array and index array
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.MeshFactory.CreatePyramidMesh(System.Numerics.Vector3,System.Numerics.Vector3,System.String)"]
See Also