开发者

Is there a way to get a IGUIElement * given a pair of screen coordinates in Irrlicht?

I have a pair of screen coordinates and I need to know if they overlap any GUI elements.

Is there some way of doing this or at least finding out if a given point is within the bounds of a GUI element?

It would 开发者_开发问答be preferable if there was some sort of isPointInsideAnyGUIElements() function.


Use env->getElementFromPoint(position)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜