Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
MeshTexture
继承: Texture2D < Texture < Resource < RefCounted < Object
简单的纹理,使用一个网格来绘制自己。
描述
简单的纹理,使用一个网格来绘制自己。它的应用场景有限,因为 Flag 不能更改,而且不支持区域绘制。
属性
|
||
resource_local_to_scene |
|
属性说明
设置该 Mesh 用来绘制的基础纹理。
Vector2 image_size = Vector2(0, 0)
🔗
设置图像的大小,需要参考。
设置用于绘制的网格,该网格必须使用 2D 顶点。