Class TextureImporterSettings
Inheritance
TextureImporterSettings
Assembly: UnityEditor.dll
Syntax
[Serializable]
public sealed class TextureImporterSettings
Properties
|
Improve this Doc
View Source
alphaIsTransparency
Declaration
public bool alphaIsTransparency { get; set; }
Property Value
|
Improve this Doc
View Source
alphaSource
Declaration
public TextureImporterAlphaSource alphaSource { get; set; }
Property Value
|
Improve this Doc
View Source
alphaTestReferenceValue
Declaration
public float alphaTestReferenceValue { get; set; }
Property Value
|
Improve this Doc
View Source
aniso
Declaration
public int aniso { get; set; }
Property Value
|
Improve this Doc
View Source
borderMipmap
Declaration
public bool borderMipmap { get; set; }
Property Value
|
Improve this Doc
View Source
compressionQuality
Declaration
[Obsolete("Texture compression can only be overridden on a per platform basis. See [[TextureImporter.compressionQuality]] for Default platform or [[TextureImporterPlatformSettings]]")]
public int compressionQuality { get; set; }
Property Value
|
Improve this Doc
View Source
convertToNormalMap
Declaration
public bool convertToNormalMap { get; set; }
Property Value
|
Improve this Doc
View Source
cubemapConvolution
Declaration
public TextureImporterCubemapConvolution cubemapConvolution { get; set; }
Property Value
|
Improve this Doc
View Source
cubemapConvolutionExponent
Declaration
[Obsolete("Not used anymore. The right values are automatically picked by the importer.")]
public float cubemapConvolutionExponent { get; set; }
Property Value
|
Improve this Doc
View Source
cubemapConvolutionSteps
Declaration
[Obsolete("Not used anymore. The right values are automatically picked by the importer.")]
public int cubemapConvolutionSteps { get; set; }
Property Value
|
Improve this Doc
View Source
fadeOut
Declaration
public bool fadeOut { get; set; }
Property Value
|
Improve this Doc
View Source
filterMode
Declaration
public FilterMode filterMode { get; set; }
Property Value
|
Improve this Doc
View Source
generateCubemap
Declaration
public TextureImporterGenerateCubemap generateCubemap { get; set; }
Property Value
|
Improve this Doc
View Source
generateMipsInLinearSpace
Declaration
[Obsolete("Texture mips are now always generated in linear space")]
public bool generateMipsInLinearSpace { get; set; }
Property Value
|
Improve this Doc
View Source
grayscaleToAlpha
Declaration
[Obsolete("Use UnityEditor.TextureImporter.alphaSource instead")]
public bool grayscaleToAlpha { get; set; }
Property Value
|
Improve this Doc
View Source
heightmapScale
Declaration
public float heightmapScale { get; set; }
Property Value
|
Improve this Doc
View Source
lightmap
Declaration
[Obsolete("Check importer.textureType against TextureImporterType.Lightmap instead. Getter will work as expected. Setter will set textureType to Lightmap if true, nothing otherwise.")]
public bool lightmap { get; set; }
Property Value
|
Improve this Doc
View Source
linearTexture
Declaration
[Obsolete("Use sRGBTexture instead")]
public bool linearTexture { get; set; }
Property Value
|
Improve this Doc
View Source
maxTextureSize
Declaration
[Obsolete("Texture max size can only be overridden on a per platform basis. See [[TextureImporter.maxTextureSize]] for Default platform or [[TextureImporterPlatformSettings]]")]
public int maxTextureSize { get; set; }
Property Value
|
Improve this Doc
View Source
mipmapBias
Declaration
public float mipmapBias { get; set; }
Property Value
|
Improve this Doc
View Source
mipmapEnabled
Declaration
public bool mipmapEnabled { get; set; }
Property Value
|
Improve this Doc
View Source
mipmapFadeDistanceEnd
Declaration
public int mipmapFadeDistanceEnd { get; set; }
Property Value
|
Improve this Doc
View Source
mipmapFadeDistanceStart
Declaration
public int mipmapFadeDistanceStart { get; set; }
Property Value
|
Improve this Doc
View Source
mipmapFilter
Declaration
public TextureImporterMipFilter mipmapFilter { get; set; }
Property Value
|
Improve this Doc
View Source
mipMapsPreserveCoverage
Declaration
public bool mipMapsPreserveCoverage { get; set; }
Property Value
|
Improve this Doc
View Source
normalMap
Declaration
[Obsolete("Check importer.textureType against TextureImporterType.NormalMap instead. Getter will work as expected. Setter will set textureType to NormalMap if true, nothing otherwise")]
public bool normalMap { get; set; }
Property Value
|
Improve this Doc
View Source
normalMapFilter
Declaration
public TextureImporterNormalFilter normalMapFilter { get; set; }
Property Value
|
Improve this Doc
View Source
npotScale
Declaration
public TextureImporterNPOTScale npotScale { get; set; }
Property Value
|
Improve this Doc
View Source
readable
Declaration
public bool readable { get; set; }
Property Value
|
Improve this Doc
View Source
rgbm
Declaration
[Obsolete("RGBM is no longer a user's choice but has become an implementation detail hidden to the user.")]
public TextureImporterRGBMMode rgbm { get; set; }
Property Value
|
Improve this Doc
View Source
seamlessCubemap
Declaration
public bool seamlessCubemap { get; set; }
Property Value
|
Improve this Doc
View Source
singleChannelComponent
Declaration
public TextureImporterSingleChannelComponent singleChannelComponent { get; set; }
Property Value
|
Improve this Doc
View Source
spriteAlignment
Declaration
public int spriteAlignment { get; set; }
Property Value
|
Improve this Doc
View Source
spriteBorder
Declaration
public Vector4 spriteBorder { get; set; }
Property Value
|
Improve this Doc
View Source
spriteExtrude
Declaration
public uint spriteExtrude { get; set; }
Property Value
|
Improve this Doc
View Source
spriteGenerateFallbackPhysicsShape
Declaration
public bool spriteGenerateFallbackPhysicsShape { get; set; }
Property Value
|
Improve this Doc
View Source
spriteMeshType
Declaration
public SpriteMeshType spriteMeshType { get; set; }
Property Value
|
Improve this Doc
View Source
spriteMode
Declaration
public int spriteMode { get; set; }
Property Value
|
Improve this Doc
View Source
spritePivot
Declaration
public Vector2 spritePivot { get; set; }
Property Value
|
Improve this Doc
View Source
spritePixelsPerUnit
Declaration
public float spritePixelsPerUnit { get; set; }
Property Value
|
Improve this Doc
View Source
spritePixelsToUnits
Declaration
[Obsolete("Use spritePixelsPerUnit property instead.")]
public float spritePixelsToUnits { get; set; }
Property Value
|
Improve this Doc
View Source
spriteTessellationDetail
Declaration
public float spriteTessellationDetail { get; set; }
Property Value
|
Improve this Doc
View Source
sRGBTexture
Declaration
public bool sRGBTexture { get; set; }
Property Value
|
Improve this Doc
View Source
streamingMipmaps
Declaration
public bool streamingMipmaps { get; set; }
Property Value
|
Improve this Doc
View Source
streamingMipmapsPriority
Declaration
public int streamingMipmapsPriority { get; set; }
Property Value
|
Improve this Doc
View Source
textureFormat
Declaration
[Obsolete("Texture format can only be overridden on a per platform basis. See [[TextureImporterPlatformSettings]]")]
public TextureImporterFormat textureFormat { get; set; }
Property Value
|
Improve this Doc
View Source
textureShape
Declaration
public TextureImporterShape textureShape { get; set; }
Property Value
|
Improve this Doc
View Source
textureType
Declaration
public TextureImporterType textureType { get; set; }
Property Value
|
Improve this Doc
View Source
wrapMode
Declaration
public TextureWrapMode wrapMode { get; set; }
Property Value
|
Improve this Doc
View Source
wrapModeU
Declaration
public TextureWrapMode wrapModeU { get; set; }
Property Value
|
Improve this Doc
View Source
wrapModeV
Declaration
public TextureWrapMode wrapModeV { get; set; }
Property Value
|
Improve this Doc
View Source
wrapModeW
Declaration
public TextureWrapMode wrapModeW { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ApplyTextureType(TextureImporterType)
Declaration
public void ApplyTextureType(TextureImporterType type)
Parameters
|
Improve this Doc
View Source
ApplyTextureType(TextureImporterType, Boolean)
Declaration
[Obsolete("ApplyTextureType(TextureImporterType, bool) is deprecated, use ApplyTextureType(TextureImporterType)")]
public void ApplyTextureType(TextureImporterType type, bool applyAll)
Parameters
|
Improve this Doc
View Source
CopyTo(TextureImporterSettings)
Declaration
public void CopyTo(TextureImporterSettings target)
Parameters
Equal(TextureImporterSettings, TextureImporterSettings)
Declaration
public static bool Equal(TextureImporterSettings a, TextureImporterSettings b)
Parameters
Returns
Extension Methods