Skip to content

Components

MultiMesh

Draws the shape from a Polygon or a Mesh on the same node many times over, at a list of placements each with its own position, rotation, scale and tint: a field of grass, a scatter of rubble. Needs one of those to draw.

On this page

Add it

+ Add node → MultiMesh creates a node with it already on. Already have a node for it? Add component → MultiMeshComponent.

Fields

FieldScript nameKindDefaultWhat it does
PlacementsplacementslistemptyWhere to draw copies of the shape. Empty draws nothing, on purpose.
FieldScript nameKindDefaultWhat it does
Positionpositiontwo numbers (x, y)noneOffset from the node, in local units.
Rotationrotationnumber, step 1noneRotation in radians: stored so, and shown in degrees as every other rotation is (D98).
Scalescaletwo numbers (x, y)noneScale, per axis.
ColorcolorcolournoneTint multiplied with the shape's own colour.