 |
MouseCameraControllerCameraMovementSmoothingDelegate Delegate |
Represents a delegate that defines a custom smoothing function for camera movement. It can be set by calling the SetAdvancedSmoothSettings method.
Namespace: Ab3d.ControlsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 12.0.9484.2048
Syntaxpublic delegate void CameraMovementSmoothingDelegate(
Vector targetMouseMoveVector,
double elapsedTime,
ref Vector newMouseMoveVector
)
Parameters
- targetMouseMoveVector Vector
- The mouse move vector that would be used when no smoothing would be used.
- elapsedTime Double
- Elapsed time in seconds between this and previous call to this delegate.
- newMouseMoveVector Vector
- The calculated new mouse move vector after applying the smoothing function. This value is passed by ref and can be changed by the subscribed method.
See Also