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 = 0Represents a capsule primitive model.
Cone = 1Represents a cone primitive model.
Cube = 2Represents a cube primitive model.
Cylinder = 3Represents a cylinder primitive model.
InfinitePlane = 4Represents an infinite plane primitive model.
Plane = 5Represents a plane primitive model.
RectangularPrism = 6Represents a rectangular prism primitive model.
Sphere = 7Represents a sphere primitive model.
Teapot = 8Represents a teapot primitive model.
Torus = 9Represents a torus primitive model.
TriangularPrism = 10Represents 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.