 |
MouseCameraControllerCameraRotationSmoothingDelegate Delegate |
Represents a delegate that defines a custom smoothing function for camera rotation. 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 CameraRotationSmoothingDelegate(
double targetHeading,
double targetAttitude,
double elapsedTime,
ref double newHeading,
ref double newAttitude
)
Parameters
- targetHeading Double
- The heading angle that would be used when no smoothing would be used.
- targetAttitude Double
- The attitude angle that would be used when no smoothing would be used.
- elapsedTime Double
- Elapsed time in seconds between this and previous call to this delegate.
- newHeading Double
- The calculated new heading change after applying the smoothing function. This value is passed by ref and can be changed by the subscribed method.
- newAttitude Double
- The calculated new attitude change after applying the smoothing function. This value is passed by ref and can be changed by the subscribed method.
See Also