テクスチャをハンドリングするクラスです。
その場でテクスチャを作成したり、既存の Texture アセット を変更するときに使います。
| blackTexture | すべて黒のピクセルで小さなテクスチャを取得します。 |
| whiteTexture | すべて白のピクセルで小さなテクスチャを取得します。 |
| alphaIsTransparency | Indicates whether this texture was imported with TextureImporter.alphaIsTransparency enabled. This setting is available only in the Editor scripts. Note that changing this setting will have no effect; it must be enabled in TextureImporter instead. |
| desiredMipmapLevel | The mipmap level which would have been loaded by the streaming system before memory budgets are applied. |
| format | テクスチャのピクセルデータをフォーマットする |
| isReadable | Returns true if the Read/Write Enabled checkbox was checked when the texture was imported; otherwise returns false. For a dynamic Texture created from script, always returns true. For additional information, see TextureImporter.isReadable. |
| loadedMipmapLevel | Which mipmap level is currently loaded by the streaming system. |
| loadingMipmapLevel | Which mipmap level is in the process of being loaded by the mipmap streaming system. |
| mipmapCount | テクスチャのミップマップレベル(読み取り専用) |
| requestedMipmapLevel | The mipmap level to load. |
| streamingMipmaps | Has mipmap streaming been enabled for this texture. |
| streamingMipmapsPriority | Relative priority for this texture when reducing memory size in order to hit the memory budget. |
| Texture2D | 新規の空のテクスチャを作成します |
| Apply | SetPixel 関数と SetPixels 関数による変更を適用します |
| ClearRequestedMipmapLevel | Resets the requestedMipmapLevel field. |
| Compress | DXT 形式にテクスチャを圧縮します |
| GetPixel | 座標(x, y)のピクセルのカラーを取得します |
| GetPixelBilinear | 正規化座標(u, v)でフィルタリングされたピクセルのカラーを取得します |
| GetPixels | テクスチャからピクセル色を取得します。 |
| GetPixels32 | Color32 形式のピクセルのカラー配列を取得します |
| GetRawTextureData | Get raw data from a texture for reading or writing. |
| IsRequestedMipmapLevelLoaded | Has the mipmap level requested by setting requestedMipmapLevel finished loading? |
| LoadRawTextureData | Raw 形式データを読み取ってテクスチャのピクセルを格納します。 |
| PackTextures | テクスチャアトラスに複数のテクスチャをパックします |
| ReadPixels | スクリーン画面からテクスチャデータへと保存するためのピクセルデータを読み込みます |
| Resize | テクスチャをリサイズします |
| SetPixel | 座標(x, y)のピクセルのカラーを設定します |
| SetPixels | ピクセルカラー配列を設定します |
| SetPixels32 | ピクセルカラー配列を設定します |
| UpdateExternalTexture | 異なるネイティブのテクスチャオブジェクトを使うために Unity のテクスチャを更新します。 |
| CreateExternalTexture | 外部で作成されたネイティブのテクスチャオブジェクトから Unity テクスチャを作成します。 |
| GenerateAtlas | Packs a set of rectangles into a square atlas, with optional padding between rectangles. |
| currentTextureMemory | The amount of memory currently being used by textures. |
| desiredTextureMemory | This amount of texture memory would be used before the texture streaming budget is applied. |
| nonStreamingTextureCount | Number of non-streaming textures. |
| nonStreamingTextureMemory | Total amount of memory being used by non-streaming textures. |
| streamingMipmapUploadCount | How many times has a texture been uploaded due to texture mipmap streaming. |
| streamingRendererCount | Number of renderers registered with the texture streaming system. |
| streamingTextureCount | Number of streaming textures. |
| streamingTextureDiscardUnusedMips | Force the streaming texture system to discard all unused mipmaps immediately, rather than caching them until the texture memory budget is exceeded. |
| streamingTextureForceLoadAll | Force streaming textures to load all mipmap levels. |
| streamingTextureLoadingCount | Number of streaming textures with mipmaps currently loading. |
| streamingTexturePendingLoadCount | Number of streaming textures with outstanding mipmaps to be loaded. |
| targetTextureMemory | The amount of memory used by textures after the mipmap streaming and budget are applied and loading is complete. |
| totalTextureMemory | The total amount of memory that would be used by all textures at mipmap level 0. |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | オブジェクト名 |
| anisoLevel | テクスチャの異方性フィルタリングのレベル |
| dimension | テクスチャの次元 (タイプ)。読み取り専用。 |
| filterMode | テクスチャのフィルタリングモード |
| height | ピクセル単位でのテクスチャの高さ(読み取り専用) |
| imageContentsHash | The hash value of the Texture. |
| isReadable | Returns true if the Read/Write Enabled checkbox was checked when the texture was imported; otherwise returns false. For a dynamic Texture created from script, always returns true. For additional information, see TextureImporter.isReadable. |
| mipMapBias | ミップマップのバイアス |
| updateCount | This counter is incremented when the texture is updated. |
| width | ピクセル単位でのテクスチャの幅(読み取り専用) |
| 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. |
| GetInstanceID | オブジェクトのインスタンス ID を返します |
| ToString | Returns the name of the GameObject. |
| GetNativeTexturePtr | テクスチャリソースへのネイティブ (グラフィックス API に内在する) ポインターを取得します。 |
| IncrementUpdateCount | Increment the update counter. |
| 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 のオブジェクトをクローンします |
| SetGlobalAnisotropicFilteringLimits | 異方性のリミットを設定します |
| SetStreamingTextureMaterialDebugProperties | Uploads additional debug information to materials using textures set to stream mip maps. |
| bool | オブジェクトが存在するかどうか |
| operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
| operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |