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

Defines how points are shaded.

## Variants
#### `Gradient` = 1
Radial gradient for a spherical shadow effect.

#### `Flat` = 2
Flat shading.


## Arrow datatype
```
UInt8
```

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


## Used by

* [`Points3D`](../archetypes/points3d.md)
