Table of Contents

Interface IPluginHudRegistration

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

A plugin-owned transparent overlay. Disposal unregisters all callbacks.

public interface IPluginHudRegistration : IDisposable
Inherited Members

Properties

Bounds

Where the overlay is and how large. Set it to move or resize the overlay.

PluginHudBounds Bounds { get; set; }

Property Value

PluginHudBounds

IsVisible

Whether the overlay is shown. Set it to show or hide the overlay.

bool IsVisible { get; set; }

Property Value

bool

Surface

The surface the plugin draws this overlay's frames on.

IPluginRenderSurface Surface { get; }

Property Value

IPluginRenderSurface

Events

Input

Raised for each pointer event over the overlay. Never raised for a click-through overlay.

event Action<PluginHudInput>? Input

Event Type

Action<PluginHudInput>