Texture
以下为我对于官方文档的翻译以及使用情况,3.0版本的文档
Texture官方文档
继承: Resource < Reference < Object
继承者: CurveTexture, AtlasTexture, ProxyTexture, GradientTexture, ViewportTexture, StreamTexture, ImageTexture, LargeTexture
类型: Core
简要说明
2D和3D纹理
成员函数
返回类型 | 函数 |
---|---|
void | draw ( RID canvas_item, Vector2 position, Color modulate=Color( 1, 1, 1, 1 ), bool transpose=false, Texture normal_map=null ) const |
void | draw_rect ( RID canvas_item, Rect2 rec |