---
# System prepended metadata

title: Fog Volume
tags: [Required-Components]

---

# Bundles

## `FogVolumeBundle`

```rust
pub struct FogVolumeBundle {
    /// The actual fog volume.
    pub fog_volume: FogVolume,
    /// Visibility.
    pub visibility: Visibility,
    /// Inherited visibility.
    pub inherited_visibility: InheritedVisibility,
    /// View visibility.
    pub view_visibility: ViewVisibility,
    /// The local transform. Set this to change the position, and scale of the
    /// fog's axis-aligned bounding box (AABB).
    pub transform: Transform,
    /// The global transform.
    pub global_transform: GlobalTransform,
}
```

### Proposal 1 (Selected)

```rust
#[derive(Component)]
#[require(Transform, Visibility)]
struct FogVolume;
```