言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Texture.wrapMode

public var wrapMode: TextureWrapMode;

Description

テクスチャのラップモード (リピートまたはクランプ)

Set the texture to clamp at the borders to avoid warping artifacts with TextureWrapMode.Clamp. Or tile the texture with TextureWrapMode.Repeat. See Also: Texture.wrapMode, texture assets.

	renderer.material.mainTexture.wrapMode = TextureWrapMode.Clamp;