> For the complete documentation index, see [llms.txt](https://flora.magneticarcade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flora.magneticarcade.com/samples/container-samples.md).

# Container Samples

Scenes showcasing FloraInstanceContainer and FloraInstanceRenderer workflows without Unity Terrain.

These scenes use `FloraInstanceContainer` and `FloraInstanceRenderer` without Unity `Terrain`.

## Container Mesh Sample

Four child containers place different prefabs on a rotating wall.

<figure><img src="https://2882982566-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyo4B7EVXffipTxnJzee6%2Fuploads%2Fgit-blob-531dad1f0ae7b5c74aea0c7784dc653f66f9524c%2Fcontainer-mesh-6-4-5.webp?alt=media" alt="Plant instances on the Container Mesh Sample wall"><figcaption><p>A close view of the sample wall and its instanced plants.</p></figcaption></figure>

### Scene Path

`Containers/Scenes/ContainerMeshSample.unity`

### Demonstrates

* different prefabs per container
* parent-relative transforms
* container rendering without Unity `Terrain`

### Run

1. Open `ContainerMeshSample` and press Play.
2. Confirm each group uses its assigned prefab.
3. Confirm all instances follow the wall while keeping their local offsets.

## Container Prefab Sample

<figure><img src="https://2882982566-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyo4B7EVXffipTxnJzee6%2Fuploads%2Fgit-blob-81ff8acd354ffe38528dd49607df6df1a7eea54a%2Fcontainer-prefab-6-4-5.webp?alt=media" alt="Instanced rock prefabs with child fern containers in Container Prefab Sample"><figcaption><p>Rock prefabs and their child plant containers in Play mode.</p></figcaption></figure>

Rock prefab instances use `FloraInstanceRenderer`; their child plant containers follow the rocks as they move.

### Scene Path

`Containers/Scenes/ContainerPrefabSample.unity`

### Demonstrates

* `LODGroup` prefabs through `FloraInstanceRenderer`
* child plant data through `FloraInstanceContainer`
* parent-relative motion without Unity `Terrain`

### Run

1. Open `ContainerPrefabSample` and press Play.
2. Confirm rocks render and rotate.
3. Confirm child plants follow their rocks with stable offsets.
