Class CreateTextureGenerationSettingsNode.Inputs
The list of Texture
Inherited Members
Namespace: UnityEditor .Importer.USD
Assembly: Unity.Importer.USD.Editor.dll
Syntax
public class CreateTextureGenerationSettingsNode.Inputs : InputPorts
Fields
allowsAlphaSplitting
Allows alpha splitting for this Texture on these platforms: tvOS, iOS, Lumin, and Android.
Declaration
public bool allowsAlphaSplitting
Field Value
Type | Description |
---|---|
bool |
Remarks
This setting is not exposed in our default graph and is always set to false from an Import
See Also
alphaIsTransparency
Indicates whether to dilate the color channels.
Declaration
public bool alphaIsTransparency
Field Value
Type | Description |
---|---|
bool |
Remarks
This helps to avoid filtering artifacts on the edges of the alpha channel if the alpha channel represents transparency.
See Also
alphaSource
Select how the alpha of the imported texture is generated.
Declaration
public TextureImporterAlphaSource alphaSource
Field Value
Type | Description |
---|---|
Texture |
See Also
androidETC2FallbackOverride
ETC2 texture decompression fallback override on Android devices that don’t support ETC2.
Declaration
public AndroidETC2FallbackOverride androidETC2FallbackOverride
Field Value
Type | Description |
---|---|
Android |
Remarks
This setting is not exposed in our default graph and is always set to Quality32Bit from an Import
See Also
anisoLevel
Controls the texture quality when you view the texture at a steep angle.
Declaration
public int anisoLevel
Field Value
Type | Description |
---|---|
int |
See Also
compression
Choose the compression type for the Texture.
Declaration
public TextureImporterCompression compression
Field Value
Type | Description |
---|---|
Texture |
See Also
createFromGrayScale
Indicates whether to create the normal map from a grayscale heightmap.
Declaration
public NormalMapFromGrayScale createFromGrayScale
Field Value
Type | Description |
---|---|
Normal |
See Also
crunchedCompression
Use crunch compression, if applicable.
Declaration
public CrunchedCompression crunchedCompression
Field Value
Type | Description |
---|---|
Crunched |
See Also
filterMode
Specifies how Unity filters the texture when the texture stretches during 3D transformations.
Declaration
public FilterMode filterMode
Field Value
Type | Description |
---|---|
Filter |
See Also
flipGreenChannel
Indicates whether to invert the green (Y) channel values of a normal map.
Declaration
public bool flipGreenChannel
Field Value
Type | Description |
---|---|
bool |
See Also
format
Select the internal representation format of the texture.
Declaration
public TextureImporterFormat format
Field Value
Type | Description |
---|---|
Texture |
See Also
ignorePNGGamma
Ignore the Gamma attribute in PNG files. This property does not effect other file formats.
Declaration
public bool ignorePNGGamma
Field Value
Type | Description |
---|---|
bool |
See Also
maxSize
Set the maximum imported Texture dimensions in pixels.
Declaration
public int maxSize
Field Value
Type | Description |
---|---|
int |
See Also
mipMaps
Specifies if and how mipmaps have to be generated for the textures.
Declaration
public MipMapSettings mipMaps
Field Value
Type | Description |
---|---|
Mip |
See Also
mipmapBias
The mipmap bias of the Texture.
Declaration
public float mipmapBias
Field Value
Type | Description |
---|---|
float |
See Also
npotScale
Specifies how Unity scales the dimension size if the texture source file has a non-power of two (NPOT) dimension size.
Declaration
public TextureImporterNPOTScale npotScale
Field Value
Type | Description |
---|---|
Texture |
See Also
readable
Indicates whether it is possible to access the texture data from scripts using Set
Declaration
public bool readable
Field Value
Type | Description |
---|---|
bool |
See Also
resizeAlgorithm
Choose an algorithm for downscaling the Texture when the Texture dimensions are larger than the specified max
Declaration
public TextureResizeAlgorithm resizeAlgorithm
Field Value
Type | Description |
---|---|
Texture |
See Also
sRGB
Tells whether the texture contain color data or other type of data.
Declaration
public bool sRGB
Field Value
Type | Description |
---|---|
bool |
Remarks
Textures like normal map, metallic map or roughness map usually don't contain color data and should set this setting to false.
See Also
textureType
The Texture
Declaration
public TextureImporterType textureType
Field Value
Type | Description |
---|---|
Texture |
Remarks
The default value is Default.
It can be set to Normal
See Also
wrapMode
Specifies how the texture behaves when it tiles.
Declaration
public TextureWrapModeSettings wrapMode
Field Value
Type | Description |
---|---|
Texture |