Enum Primitive2DModelType
- Namespace
- Stride.CommunityToolkit.Rendering.ProceduralModels
- Assembly
- Stride.CommunityToolkit.dll
Specifies the types of 2D primitive models that can be created.
public enum Primitive2DModelType
Fields
Capsule = 0
A capsule shape, which is a rectangle with semi-circular ends.
Circle = 1
A circle shape with a customizable radius.
Polygon = 2
A polygon shape with a customizable number of sides.
Quad = 3
A quadrilateral shape, which can represent any four-sided polygon.
Rectangle = 4
A rectangular shape with customizable width and height.
Square = 5
A square shape with equal width and height.
Triangle = 6
A triangular shape with three sides.