エディタースクリプトからテクスチャインポーターの Texture2D のインポート設定を変更することができます。
クラスの詳細は Texture Import Settings と同じものです。
| allowAlphaSplitting | Allows alpha splitting on relevant platforms for this texture. |
| alphaIsTransparency | If the provided alpha channel is transparency, enable this to prefilter the color to avoid filtering artifacts. |
| alphaSource | Select how the alpha of the imported texture is generated. |
| alphaTestReferenceValue | Returns or assigns the alpha test reference value. |
| androidETC2FallbackOverride | ETC2 texture decompression fallback override on Android devices that don't support ETC2. |
| anisoLevel | テクスチャの異方性フィルタリングのレベル |
| borderMipmap | Mipmap 生成時に border の設定をオリジナルのテクスチャと同じにするかどうか |
| compressionQuality | テクスチャの圧縮率 [0...100] |
| convertToNormalmap | ハイトマップを法線マップへ変換するかどうか |
| crunchedCompression | Use crunched compression when available. |
| fadeout | ミップレベルを灰色にフェードアウトするかどうか |
| filterMode | テクスチャのフィルタリングモード |
| generateCubemap | Cubemap を生成モード |
| heightmapScale | ハイトマップの bumpyness 量 |
| isReadable | Set this to true if you want texture data to be readable from scripts. Set it to false to prevent scripts from reading texture data. |
| maxTextureSize | テクスチャの最大サイズ |
| mipMapBias | ミップマップのバイアス |
| mipmapEnabled | ミップマップを生成します。 |
| mipmapFadeDistanceEnd | テクスチャがフェードアウトを終了する Mipmap レベル |
| mipmapFadeDistanceStart | テクスチャがフェードアウトを開始する Mipmap レベル |
| mipmapFilter | Mipmap のフィルタリング方法 |
| mipMapsPreserveCoverage | Enables or disables coverage-preserving alpha MIP mapping. |
| normalmapFilter | 法線マップのフィルタリング方法 |
| npotScale | 2 のべき乗サイズでないテクスチャのスケーリング方法 |
| qualifiesForSpritePacking | もしこの TextureImporter が Sprite Packing のためにセットアップが行われていたら true を返します |
| spriteBorder | 生成されたスプライトのボーダーサイズ |
| spriteImportMode | Sprite テクスチャのインポートモードを設定します |
| spritePackingTag | Sprite の PackingTag を選択します |
| spritePivot | Sprite オブジェクトの座標空間の中心点の位置を設定します |
| spritePixelsPerUnit | ワールド空間座標の 1 単位分に相当する、スプライトのピクセル数。 |
| spritesheet | 個々の Sprite グラフィックスに対応した Atlas のセクション配列 |
| sRGBTexture | Is texture storing color data? |
| streamingMipmaps | Enable mipmap streaming for this texture. |
| streamingMipmapsPriority | Relative priority for this texture when reducing memory size in order to hit the memory budget. |
| textureCompression | Compression of imported texture. |
| textureShape | Shape of imported texture. |
| textureType | テクスチャタイプ |
| wrapMode | Texture coordinate wrapping mode. |
| wrapModeU | Texture U coordinate wrapping mode. |
| wrapModeV | Texture V coordinate wrapping mode. |
| wrapModeW | Texture W coordinate wrapping mode for Texture3D. |
| ClearPlatformTextureSettings | 特定のプラットフォームのテクスチャ設定情報を削除します |
| DoesSourceTextureHaveAlpha | アルファチャンネルがあるかどうか |
| GetAutomaticFormat | Returns the TextureImporterFormat that would be automatically chosen for this platform. |
| GetDefaultPlatformTextureSettings | Get the default platform specific texture settings. |
| GetPlatformTextureSettings | 特定のプラットフォームのテクスチャ設定情報を取得します |
| ReadTextureImportInstructions | この TextureImporter のアクティブなテクスチャの情報を読み込みます |
| ReadTextureSettings | TextureImporterSettings からテクスチャ設定情報を読み込みます |
| SetPlatformTextureSettings | 特定のプラットフォームの設定を行います。 |
| SetTextureSettings | TextureImporterSettings からテクスチャインポーターの設定を行います |
| assetBundleName | アセットバンドルの名前の取得や設定ができます。 |
| assetBundleVariant | アセットバンドルバリアントの取得や設定ができます。 |
| assetPath | アセットのパス(読み取り専用) |
| importSettingsMissing | The value is true when no meta file is provided with the imported asset. |
| userData | ユーザーが自由に設定/取得できる文字列 |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | オブジェクト名 |
| AddRemap | Map a sub-asset from an imported asset (such as an FBX file) to an external Asset of the same type. |
| GetExternalObjectMap | Gets a copy of the external object map used by the AssetImporter. |
| RemoveRemap | Removes an item from the map of external objects. |
| SaveAndReimport | アセットインポーターがダーティであれば、アセットインポーターの設定を保存します。 |
| SetAssetBundleNameAndVariant | アセットバンドル名とアセットバンドルバリアントを設定します。 |
| GetInstanceID | オブジェクトのインスタンス ID を返します |
| ToString | Returns the name of the GameObject. |
| GetAtPath | アセットのパスから AssetImporter を取得します |
| Destroy | ゲームオブジェクトやコンポーネント、アセットを削除します |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します |
| FindObjectsOfType | タイプから見つけたすべてのアクティブのオブジェクト配列を返します |
| Instantiate | original のオブジェクトをクローンします |
| bool | オブジェクトが存在するかどうか |
| operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
| operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |