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

スクリプト言語

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

TextureImporter.GetPlatformTextureSettings

public function GetPlatformTextureSettings(platform: string, maxTextureSize: int, textureFormat: TextureImporterFormat, compressionQuality: int): bool;

Parameters

platform 取得するプラットフォーム名
maxTextureSize ピクセル単位の幅/高さの最大サイズ
textureFormat テクスチャフォーマット
compressionQuality 圧縮している場合のクオリティレベル。0...100 のJPEG品質設定のようなレベルで指定できます。

Description

特定のプラットフォームのテクスチャ設定情報を取得します

選択したプラットフォームは "out" パラメーターに返されます。platformの文字列オプションは、"Web"、 "Standalone"、 "iPhone"、 "Android"、 "FlashPlayer" です。

public function GetPlatformTextureSettings(platform: string, maxTextureSize: int, textureFormat: TextureImporterFormat): bool;

Parameters

platform 取得するプラットフォーム名
maxTextureSize ピクセル単位の幅/高さの最大サイズ
textureFormat テクスチャフォーマット

Description

特定のプラットフォームのテクスチャ設定情報を取得します

選択したプラットフォームは "out" パラメーターに返されます。platformの文字列オプションは、"Web"、 "Standalone"、 "iPhone"、 "Android"、 "FlashPlayer" です。