Table of Contents

Class ProceduralModelBuilder

Namespace
Stride.CommunityToolkit.Rendering.ProceduralModels
Assembly
Stride.CommunityToolkit.dll

Builds the procedural model of a Primitive3D or Primitive2D shape.

public static class ProceduralModelBuilder
Inheritance
ProceduralModelBuilder

Methods

Build(Primitive2D)

Builds the procedural model of a flat shape in the XY plane, with the shape's dimensions and tessellation.

public static PrimitiveProceduralModelBase Build(Primitive2D shape)

Parameters

shape Primitive2D

The shape to build.

Returns

PrimitiveProceduralModelBase

The procedural model; call Generate on it for the Model.

Build(Primitive3D)

Builds the procedural model of shape, with the shape's dimensions and tessellation.

public static PrimitiveProceduralModelBase Build(Primitive3D shape)

Parameters

shape Primitive3D

The shape to build.

Returns

PrimitiveProceduralModelBase

The procedural model; call Generate on it for the Model.