> 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/scripts/instance-renderer.md).

# Instance Renderer

The `FloraInstanceRenderer` is a component that enables Flora rendering for a prefab instance with a `LODGroup` or `MeshRenderer`.

Adding this component to the **root object** of a prefab instance will automatically register it with the [FloraSystem](/scripts/system.md) and render the instance using GPU instancing.

Disabling or removing the component will:

* Unregister the instance from Flora
* Reactivate Unity’s built-in `MeshRenderer` or `LODGroup` rendering path

<figure><img src="/files/WBTvZhTvvvQiJg268kx4" alt="Flora Instance Renderer component"><figcaption></figcaption></figure>

***

### Properties

#### <mark style="color:yellow;">InstanceHandle</mark>

When the component is active, this property holds the `FloraInstanceHandle` for the instance.

* Use this handle to interact with the [FloraSystem](/scripts/system.md)
* If the component is disabled or destroyed, the handle becomes invalid


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flora.magneticarcade.com/scripts/instance-renderer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
