# 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; ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up