MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / from_volume_offset

Method from_volume_offset

crates/firewheel-nodes/src/spatial_basic.rs:133–139  ·  view source on GitHub ↗
(volume: Volume, offset: impl Into<Vec3>)

Source from the content-addressed store, hash-verified

131}
132
133impl SpatialBasicNode {
134 pub fn from_volume_offset(volume: Volume, offset: impl Into<Vec3>) -> Self {
135 Self {
136 volume,
137 offset: offset.into(),
138 ..Default::default()
139 }
140 }
141
142 /// Set the given volume in a linear scale, where `0.0` is silence and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected