Version: 5.4
public bool GetPlatformTextureSettings (string platform, out int maxTextureSize, out TextureImporterFormat textureFormat, out int compressionQuality);

パラメーター

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

説明

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

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


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

パラメーター

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

説明

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

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

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961