Class TextureSettings
Inheritance
System.Object
TextureSettings
Syntax
[Serializable]
public class TextureSettings : ITextureSettings
Constructors
TextureSettings()
Declaration
TextureSettings(String, Boolean, Boolean, Boolean, TextureImporterNPOTScale, FilterMode, Int32, Boolean, Boolean)
Declaration
public TextureSettings(string assetPath, bool enablePostProcessor, bool colorTexture, bool readable, TextureImporterNPOTScale npotScale, FilterMode filterMode, int aniso, bool sourceContainsAlpha, bool sourceWasHDR)
Parameters
| Type |
Name |
Description |
| System.String |
assetPath |
|
| System.Boolean |
enablePostProcessor |
|
| System.Boolean |
colorTexture |
|
| System.Boolean |
readable |
|
| TextureImporterNPOTScale |
npotScale |
|
| FilterMode |
filterMode |
|
| System.Int32 |
aniso |
|
| System.Boolean |
sourceContainsAlpha |
|
| System.Boolean |
sourceWasHDR |
|
Properties
aniso
Declaration
public int aniso { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
assetPath
Declaration
public string assetPath { get; set; }
Property Value
| Type |
Description |
| System.String |
|
colorTexture
Declaration
public bool colorTexture { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
containsAlpha
Declaration
public bool containsAlpha { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
enablePostProcessor
Declaration
public bool enablePostProcessor { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
filterMode
Declaration
public FilterMode filterMode { get; set; }
Property Value
| Type |
Description |
| FilterMode |
|
hdr
Declaration
public bool hdr { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
npotScale
Declaration
public TextureImporterNPOTScale npotScale { get; set; }
Property Value
| Type |
Description |
| TextureImporterNPOTScale |
|
readable
Declaration
public bool readable { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|