Enum PrimitiveModelType
- Namespace
- Stride.CommunityToolkit.Rendering.ProceduralModels
- Assembly
- Stride.CommunityToolkit.dll
Specifies the type of primitive model to be created. Available options: Sphere, Cube, Cylinder, Torus, Plane, InfinitePlane, Teapot, Cone, Capsule. Source Stride.Assets.Presentation.Preview.
public enum PrimitiveModelType
Fields
Capsule = 0
Cone = 1
Cube = 2
Cylinder = 3
InfinitePlane = 4
Plane = 5
RectangularPrism = 6
Sphere = 7
Teapot = 8
Torus = 9
TriangularPrism = 10
Remarks
This enumeration provides a variety of basic geometric shapes that can be utilized for creating 3D models in the game.