Instance Renderer
Renders a prefab instance with Flora.
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 and render the instance using GPU instancing.
Disabling or removing the component will:
Unregister the instance from Flora
Reactivate Unity’s built-in
MeshRenderer
orLODGroup
rendering path

Properties
InstanceHandle
When the component is active, this property holds the FloraInstanceHandle
for the instance.
Use this handle to interact with the FloraSystem
If the component is disabled or destroyed, the handle becomes invalid
Last updated