Soya 是一个 Python 3D 游戏框架。
如何将光标图像更改为其他图像或从其他图像更改为其他图像?
Soya is a 3D game framework for python.
How can I change the cursor image to/from a different image?
不确定,但是
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.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
不确定,但是
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.