---
title: "FillRatio"
---
<!-- DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/docs/website.rs -->

How much a primitive fills out the available space.

Used for instance to scale the points of the point cloud created from [`archetypes.DepthImage`](https://rerun.io/docs/reference/types/archetypes/depth_image) projection in 3D views.
Valid range is from 0 to max float although typically values above 1.0 are not useful.

Defaults to 1.0.

## Rerun datatype
[`Float32`](../datatypes/float32.md)


## Arrow datatype
```
Float32
```

## API reference links
 * 🌊 [C++ API docs for `FillRatio`](https://ref.rerun.io/docs/cpp/stable/structrerun_1_1components_1_1FillRatio.html)
 * 🐍 [Python API docs for `FillRatio`](https://ref.rerun.io/docs/python/stable/common/components#rerun.components.FillRatio)
 * 🦀 [Rust API docs for `FillRatio`](https://docs.rs/rerun/latest/rerun/components/struct.FillRatio.html)


## Used by

* [`DepthImage`](../archetypes/depth_image.md)
* [`EncodedDepthImage`](../archetypes/encoded_depth_image.md)
