Table of Contents

Interface IGuiLayerRenderer

Namespace
Gloam.Core.Interfaces
Assembly
Gloam.Core.dll

Interface for rendering GUI layers that contain GUI controls

public interface IGuiLayerRenderer : ILayerRenderer
Inherited Members

Properties

ControlCount

Gets the number of controls in this layer

int ControlCount { get; }

Property Value

int

Methods

AddControl(object)

Adds a GUI control to this layer

void AddControl(object control)

Parameters

control object

The control to add

ClearControls()

Clears all GUI controls from this layer

void ClearControls()

ContainsControl(object)

Gets whether this layer contains the specified control

bool ContainsControl(object control)

Parameters

control object

The control to check for

Returns

bool

True if the control is in this layer

RemoveControl(object)

Removes a GUI control from this layer

bool RemoveControl(object control)

Parameters

control object

The control to remove

Returns

bool

True if the control was removed, false if it was not found