Skip to content

DebugMouseTint Class

Tints a surface when that surface would use the mouse. Helps debug which object is receiving mouse input as you move the mouse around.

C#
public class DebugMouseTint : RootComponent, IConfigurator

Inheritance objectRootComponent

Implements IConfigurator

C#
public DebugMouseTint()

The tint color to apply to the object under the mouse.

C#
public Color TintColor { get; set; }

When false, disables this component and clears the tinted object.

C#
public bool IsEnabled { get; set; }

Code to run during update.

C#
public override void Run(TimeSpan delta)

delta TimeSpan
The time that has elapsed since the last frame.