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
Represents a capsule primitive model.
Cone = 1
Represents a cone primitive model.
Cube = 2
Represents a cube primitive model.
Cylinder = 3
Represents a cylinder primitive model.
InfinitePlane = 4
Represents an infinite plane primitive model.
Plane = 5
Represents a plane primitive model.
RectangularPrism = 6
Represents a rectangular prism primitive model.
Sphere = 7
Represents a sphere primitive model.
Teapot = 8
Represents a teapot primitive model.
Torus = 9
Represents a torus primitive model.
TriangularPrism = 10
Represents a triangular prism primitive model.
Remarks
This enumeration provides a variety of basic geometric shapes that can be utilized for creating 3D models in the game.