Class GeometricPrimitive
- Namespace
- Stride.Graphics.GeometricPrimitives
- Assembly
- Stride.Graphics.dll
A geometric primitive. Use GeometricPrimitive.Cube, GeometricPrimitive.Cylinder, GeometricPrimitive.GeoSphere, GeometricPrimitive.Plane, GeometricPrimitive.Sphere, GeometricPrimitive.Teapot, GeometricPrimitive.Torus. See Draw vertices to learn how to use it.
public class GeometricPrimitive : GeometricPrimitive<VertexPositionNormalTexture>, IDisposable, IComponent, IReferencable, ICollectorHolder
- Inheritance
-
GeometricPrimitive
- Implements
- Inherited Members
- Extension Methods
Constructors
GeometricPrimitive(GraphicsDevice, GeometricMeshData<VertexPositionNormalTexture>)
public GeometricPrimitive(GraphicsDevice graphicsDevice, GeometricMeshData<VertexPositionNormalTexture> geometryMesh)
Parameters
graphicsDevice
GraphicsDevicegeometryMesh
GeometricMeshData<VertexPositionNormalTexture>