For the complete documentation index, see llms.txt. This page is also available as Markdown.

ProceduralModel

ProceduralModel : Model

Overview

ProceduralModel is a Model that generates its shape based on the recipe (Python code) contained in Source, along with Size and declared parameters.

When the recipe is executed (baked) in Studio, the generated result is placed as a child MeshPart, and the client and cooker share this result in the same shape.

Properties

AutoRebuild

boolean

This property specifies whether the recipe is automatically re-executed (rebuilt) when Source, Size, or an attribute changes. The default is true.

Code Samples

Size

Vector3

This property specifies the build dimensions, in centimeters, used when generating the ProceduralModel.

Code Samples

Source

string

This property holds the Python recipe code used to generate the ProceduralModel's shape.

Code Samples

Methods

Events

Last updated