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

スクリプト言語

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

QualitySettings.masterTextureLimit

public static var masterTextureLimit: int;

Description

すべてのテクスチャに適用される、テクスチャサイズの上限を設定する。

Setting this to one uses the first mipmap of each texture (so all textures are half size), setting this to two uses the second mipmap of each texture (so all textures are quarter size), etc.. This can be used to decrease video memory requirements on low-end computers. The default value is zero.

	// Use half-size textures.

	QualitySettings.masterTextureLimit = 1;