(volume: Volume, offset: impl Into<Vec3>)
| 131 | } |
| 132 | |
| 133 | impl 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 |
nothing calls this directly
no outgoing calls
no test coverage detected