{{newin (日本語)|[[0.9.0 (日本語)|0.9.0]]|090|type=関数}}
{{oldin|[[0.10.0]]|100|type=function|text=Use [[Mesh:setTexture]] instead}}

{{notice|[[0.9.0]] (bug) [[Image]]s are not released from memory automatically when nil-ing meshes. Call Mesh:setImage() to manually clear.}}

Sets the [[Image]] used when drawing the Mesh.

== 関数 ==
=== 概要 ===
<source lang="lua">
Mesh:setImage( image )
</source>
=== 引数 ===
{{param (日本語)|Image|image|The Image to texture the Mesh with when drawing.}}
=== 返値 ===
ありません。

== 関数 ==
=== 概要 ===
<source lang="lua">
Mesh:setImage( )
</source>
=== 引数 ===
なし。
=== 返値 ===
ありません。
=== 注釈 ===
Disables any Image from being used when drawing the Mesh. Untextured meshes have a white color by default.

== 関連 ==
* [[parent::Mesh (日本語)]]
* [[Mesh:getImage (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Sets the [[Image]] used when drawing the Mesh.}}
== そのほかの言語 ==
{{i18n (日本語)|Mesh:setImage}}