Table of Contents

Method IsVisible

Namespace
GrindFest
Assembly
GrindFest.dll

IsVisible(VisualElement)

Is this element actually on screen - what a player could see and aim a click at? Any hidden ancestor hides it, and an element with no rect does not count either: it exists in the tree, but the layout pass has not run yet, so it is nowhere on screen.

public static bool IsVisible(VisualElement ve)

Parameters

ve VisualElement

Returns

bool