File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -180,15 +180,15 @@ pub struct PanOrbitCamera {
180
180
/// Should always be >0 otherwise you'll get stuck at 0.
181
181
/// Defaults to `0.05`.
182
182
pub zoom_lower_limit : f32 ,
183
- /// The sensitivity of the orbiting motion.
183
+ /// The sensitivity of the orbiting motion. A value of `0.0` disables orbiting.
184
184
/// Defaults to `1.0`.
185
185
pub orbit_sensitivity : f32 ,
186
186
/// How much smoothing is applied to the orbit motion. A value of `0.0` disables smoothing,
187
187
/// so there's a 1:1 mapping of input to camera position. A value of `1.0` is infinite
188
188
/// smoothing.
189
189
/// Defaults to `0.8`.
190
190
pub orbit_smoothness : f32 ,
191
- /// The sensitivity of the panning motion.
191
+ /// The sensitivity of the panning motion. A value of `0.0` disables panning.
192
192
/// Defaults to `1.0`.
193
193
pub pan_sensitivity : f32 ,
194
194
/// How much smoothing is applied to the panning motion. A value of `0.0` disables smoothing,
@@ -197,6 +197,7 @@ pub struct PanOrbitCamera {
197
197
/// Defaults to `0.6`.
198
198
pub pan_smoothness : f32 ,
199
199
/// The sensitivity of moving the camera closer or further way using the scroll wheel.
200
+ /// A value of `0.0` disables zooming.
200
201
/// Defaults to `1.0`.
201
202
pub zoom_sensitivity : f32 ,
202
203
/// How much smoothing is applied to the zoom motion. A value of `0.0` disables smoothing,
You can’t perform that action at this time.
0 commit comments