MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnTestTooltipOverControl

Method OnTestTooltipOverControl

Source/Engine/UI/GUI/Control.cs:1135–1138  ·  view source on GitHub ↗

Called when tooltip is visible and tests if the given mouse location (in control space) is valid (is over the content). The location. True if tooltip can be still visible, otherwise false.

(ref Float2 location)

Source from the content-addressed store, hash-verified

1133 /// <param name="location">The location.</param>
1134 /// <returns>True if tooltip can be still visible, otherwise false.</returns>
1135 public virtual bool OnTestTooltipOverControl(ref Float2 location)
1136 {
1137 return ContainsPoint(ref location) && ShowTooltip;
1138 }
1139
1140 #endregion
1141

Callers 1

UpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected