TiltControlSetAccelerationSourceCallback Method |
Replaces the default input source for the acceleration value.
Sets the delegate callback which will be invoked to retrieve the acceleration value.
Namespace: Rewired.ComponentControlsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void SetAccelerationSourceCallback(
Func<Vector3> callback
)
Parameters
- callback FuncVector3
- The callback delegate.
See Also