Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

defineFoliage

defineFoliage(options?): ModelMaterial

Foliage as foliage dresses it, with the options a game’s leaves need: hand what it returns to InstancedModel’s or an entity’s material. Define it once, at module scope.

Parameter Type
options FoliageOptions

ModelMaterial