简体   繁体   English

如何获取 Ursina 中的内置纹理名称列表

[英]How can I get a list of built-in texture names in Ursina

I'm new to use Ursina engine and I think is very well, but i wish to use built-in texture:我是使用 Ursina 引擎的新手,我认为非常好,但我希望使用内置纹理:

load_texture('texture_name')

but for now I only found 'withe_cube', is not very much, isn't it?但现在我只发现'withe_cube',不是很多,不是吗?

Please, where or how can I find a built-in texture names list?请问,我在哪里或如何找到内置的纹理名称列表?

There's a list of all of them here: https://www.ursinaengine.org/cheat_sheet_dark.html#textures这里有一个列表: https://www.ursinaengine.org/cheat_sheet_dark.html#textures

You could also go to {Where you installed python}/Python/Lib/site-packages/ursina/textures/ on your system to find all the images.您还可以 go 到{Where you installed python}/Python/Lib/site-packages/ursina/textures/在您的系统上查找所有图像。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果纹理未在 Ursina 引擎上加载,我该如何解决? (load_texture 不起作用) - How do I resolve if the texture does not load on the Ursina Engine? (load_texture does not work) 如何获得ursina中实体的高度? - how to get height of an entity in ursina? 如何不加区别地仅使用python内置功能(来自两个列表)来创建字典? - How can I create a dictionary without distinction and only using python built-in funtions(from two lists)? Ursina 引擎纹理贴图 - Ursina engine texture mapping 在哪里可以找到内置模块的 .py 文件? - Where can I find the .py files of built-in modules? 在哪里可以找到 Python 3 的内置数据类型? - Where can I find the built-in data types for Python 3? 将 python 的列表或 UserList 子类化以便我可以更改基础数据但使用内置排序的好方法是什么? - What is a good way to subclass python's list or UserList so I can change the underlying data but use the built-in sort? 我如何找到python内置函数实现? - How do I find python built-in function implementations? 如何使用种类查询在Google数据存储中删除内置种类的名称 - How to remove built-in kinds' names in google datastore using kind queries 如何在 python ursina 中获取鼠标 position 的向量 - How to get the the vector of mouse position in python ursina
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM