Table of Contents

Namespace Stride.CommunityToolkit.Rendering.ProceduralModels

Classes

CapsuleProceduralModel

Procedurally generates a 2D capsule (stadium) mesh composed of two semicircles and a central rectangle. Mesh instances are cached per dimension/tessellation/UV combination for reuse.

CircleProceduralModel

Procedurally generates a filled 2D circle mesh oriented in the XY plane. Meshes are cached per (radius, tessellation, UV scale, handedness) for reuse.

PolygonProceduralModel

Generates a planar polygon mesh (convex fan triangulation) from an arbitrary set of 2D vertices.

Procedural2DModelBuilder

A helper class for generating 2D procedural models based on a specified primitive model type and size.

Procedural3DModelBuilder

A helper class for generating 3D procedural models based on a specified primitive model type and size.

RectangleProceduralModel

Generates a textured rectangle (quad) in the XY plane.

TriangleProceduralModel

Generates an isosceles triangle primitive in the XY plane.

TriangularPrismProceduralModel

A triangular prism with a triangular face visible from the side.

Enums

Primitive2DModelType

Specifies the types of 2D primitive models that can be created.

PrimitiveModelType

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.