ThreadedColorInImageDetection¶
Warning
This documentation is for an implementation of a service. This class is not meant to be used directly; instead use the IColorInImageDetection service via dependency injection to access this functionality.
Information documented here may not be up to date.
-
class
ThreadedColorInImageDetection
: System.Object, IColorInImageDetection, System.IDisposable An implementation of T:Protogame.IColorInImageDetection that uses a background thread for performing analysis.
-
float
GlobalSensitivity
-
int
ChunkSize
-
public string
GetNameForColor
(Protogame.ISelectedColorHandle handle) Parameters: - handle (Protogame.ISelectedColorHandle) –
-
public Color
GetValueForColor
(Protogame.ISelectedColorHandle handle) Parameters: - handle (Protogame.ISelectedColorHandle) –
-
public Protogame.ISelectedColorHandle
RegisterColorForAnalysis
(Color color, string name) Parameters: - color (Microsoft.Xna.Framework.Color) –
- name (string) –
-
public System.Int32[,]
GetUnlockedResultsForColor
(Protogame.ISelectedColorHandle handle) Parameters: - handle (Protogame.ISelectedColorHandle) –
-
public float
GetSensitivityForColor
(Protogame.ISelectedColorHandle handle) Parameters: - handle (Protogame.ISelectedColorHandle) –
-
public int
GetTotalDetectedForColor
(Protogame.ISelectedColorHandle handle) Parameters: - handle (Protogame.ISelectedColorHandle) –
-
public void
Start
()
-
public void
Dispose
()
-
float