GeometricPrimitive Class
Namespace: Stride.Graphics.GeometricPrimitivesAssembly: Stride.Graphics.dll
A geometric primitive. Use GeometricPrimitive.Cube, GeometricPrimitive.Cylinder, GeometricPrimitive.GeoSphere, GeometricPrimitive.Plane, GeometricPrimitive.Sphere, GeometricPrimitive.Teapot, GeometricPrimitive.Torus. See
System.Object → DisposeBase → ComponentBase → GeometricPrimitive<VertexPositionNormalTexture> →
GeometricPrimitive
Derived from GeometricPrimitive:
public class GeometricPrimitive : GeometricPrimitive<VertexPositionNormalTexture>, IDisposable, IComponent, IReferencable, ICollectorHolder
Name | Description | |
---|---|---|
Constructors | ||
GeometricPrimitive(GraphicsDevice, GeometricMeshData<VertexPositionNormalTexture>) |
Constructors
GeometricPrimitive(GraphicsDevice, GeometricMeshData<VertexPositionNormalTexture>)
public GeometricPrimitive(GraphicsDevice graphicsDevice, GeometricMeshData<VertexPositionNormalTexture> geometryMesh)
Parameters
Type | Name | Description |
---|---|---|
GraphicsDevice | graphicsDevice | |
GeometricMeshData<VertexPositionNormalTexture> | geometryMesh |