Table of Contents

Method SetVisible

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

SetVisible(Image, bool, float, float)

Sets the visibility of the image.

[Version(3, 2, 0)]
public static void SetVisible(this Image image, bool visible, float visibleAlpha = 1, float invisibleAlpha = 0)

Parameters

image Image

The image to modify.

visible bool

A boolean value indicating whether the image should be visible.

visibleAlpha float

The alpha value to use when the image is visible. Default is 1.0f.

invisibleAlpha float

The alpha value to use when the image is invisible. Default is 0.0f.