Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TextureImporterPlatformSettings

Stores platform specifics settings of a TextureImporter.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public sealed class TextureImporterPlatformSettings

Remarks

Additional Resources: TextureImporter.

Properties

Property

Description

allowsAlphaSplittingAllows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency).
androidETC2FallbackOverrideOverride for ETC2 decompression fallback on Android devices that don't support ETC2.
compressionQualityThe quality of Crunch texture compression. The range is 0 through 100. A higher quality means larger textures and longer compression times.
crunchedCompressionUse crunch compression when available.
formatFormat of imported texture.
ignorePlatformSupportIgnores platform support checks for the selected texture format.
maxTextureSizeMaximum texture size.
nameName of the build target.
overriddenSet to true in order to override the Default platform parameters by those provided in the TextureImporterPlatformSettings structure.
resizeAlgorithmFor Texture to be scaled down choose resize algorithm. ( Applyed only when Texture dimension is bigger than Max Size ).
textureCompressionCompression of imported texture.

Methods

Method

Description

CopyToCopy parameters into another TextureImporterPlatformSettings object.