如何更改 python soya 中的光标图像?

发布于 2024-09-28 10:10:58 字数 148 浏览 3 评论 0原文

Soya 是一个 Python 3D 游戏框架。

如何将光标图像更改为其他图像或从其他图像更改为其他图像?

Soya is a 3D game framework for python.

How can I change the cursor image to/from a different image?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

另类 2024-10-05 10:10:58

不确定,但是

dir() 函数是你的朋友。使用它查看“Cursor”类有哪些可用的方法和属性。

从外观上看,它没有。父类如何允许您设置形状。

该类派生自 soya.Volume

好像有一个函数叫set_shape。

Not sure but,

dir() function is your friend. Use it see what methods and attributes are available for "Cursor" class.

From the look of it, it doesn't have one. How ever the parent class allows you to set a shape.

This class is derived from soya.Volume

It seems to have a function called set_shape.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文