Method SetOption_ScreenshotUseRawSize
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
SetOption_ScreenshotUseRawSize(IMaaOption<ControllerOption>?, bool)
Screenshot use raw size without scaling. Please note that this option may cause incorrect coordinates on user devices with different resolutions if scaling is not performed.
public static bool SetOption_ScreenshotUseRawSize(this IMaaOption<ControllerOption>? opt, bool value)Parameters
optIMaaOption<ControllerOption>?-
The option.
valuebool-
The value.
Returns
Remarks
value: bool, eg: true; val_size: sizeof(bool)
Exceptions
- ArgumentNullException
- NotSupportedException
-
The
optorvalueis not supported.