Click or drag to resize
AB4D logo

MouseCameraControllerSetAdvancedSmoothSettings(Boolean, Boolean, Boolean, NullableDouble, MouseCameraControllerCameraRotationSmoothingDelegate, MouseCameraControllerCameraMovementSmoothingDelegate, MouseCameraControllerCameraZoomSmoothingDelegate) Method

SetAdvancedSmoothSettings can be called instead of changing the CameraSmoothing property to configures advanced settings for camera smoothing, allowing fine-grained adjustments of rotation, movement, and zoom smoothing modes.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntax
C#
public void SetAdvancedSmoothSettings(
	bool isSmoothRotationEnabled,
	bool isSmoothMovementEnabled,
	bool isSmoothZoomEnabled,
	double? customSmoothFactor = null,
	MouseCameraControllerCameraRotationSmoothingDelegate customRotationSmoothingFunction = null,
	MouseCameraControllerCameraMovementSmoothingDelegate customMovementSmoothingFunction = null,
	MouseCameraControllerCameraZoomSmoothingDelegate customZoomSmoothingFunction = null
)

Parameters

isSmoothRotationEnabled  Boolean
Indicates whether rotation smoothing is enabled.
isSmoothMovementEnabled  Boolean
Indicates whether movement smoothing is enabled.
isSmoothZoomEnabled  Boolean
Indicates whether zoom smoothing is enabled.
customSmoothFactor  NullableDouble  (Optional)
Optional parameter to specify a custom smoothing factor (bugger factor produces faster smoothing). Currently, 22 is used for Fast, 16 for Normal, and 9 for Slow. If not provided and smoothFactor was not set by the CameraSmoothing parameter, then 16 is used. Note that the actual usage of this value can change in the future versons.
customRotationSmoothingFunction  MouseCameraControllerCameraRotationSmoothingDelegate  (Optional)
Optional CameraRotationSmoothingDelegate that can be used to provide custom rotation smoothing.
customMovementSmoothingFunction  MouseCameraControllerCameraMovementSmoothingDelegate  (Optional)
Optional CameraMovementSmoothingDelegate that can be used to provide custom movement smoothing.
customZoomSmoothingFunction  MouseCameraControllerCameraZoomSmoothingDelegate  (Optional)
Optional CameraZoomSmoothingDelegate that can be used to provide custom zoom smoothing.
See Also