DownloadedTextureParams
Parameters for the texture to be created.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestTextureModule
public struct DownloadedTextureParams
Remarks
Refer to Texture2D for more details about these parameters.
Fields
Value | Description |
|---|---|
| flags | A set of properties the created texture should have. |
| mipmapCount | Number of mipmaps to generate for the created texture. |
Properties
Property | Description |
|---|---|
| linearColorSpace | Check or change the flag for linear color space in DownloadedTextureParams.flags variable. |
| mipmapChain | Check or change the flag for mipmaps in DownloadedTextureParams.flags variable. |
| readable | Check or change the flag for readability in DownloadedTextureParams.flags variable. |
Static Properties
Property | Description |
|---|---|
| Default | Returns parameters set to recommended values. It is recommended to use this for the initial values and modify only specific parameters that you need. |