Class CreateTextureNode.InputPort
Input ports of the CreateTextureNode.
Inherited Members
Namespace: UnityEditor.Importer.USD
Assembly: Unity.Importer.USD.Editor.dll
Syntax
public class CreateTextureNode.InputPort : InputPorts
  Fields
textureSamplers
textures samplers by ids used to extract and import textures referenced by the materials.
Declaration
public Dictionary<string, TextureSamplerSettings> textureSamplers
  Field Value
| Type | Description | 
|---|---|
| Dictionary<string, TextureSamplerSettings> | 
textureSettings
Settings to apply to textures.
- TextureGenerationSettings.textureImporterSettings.textureType should be set to Default for most texture usage, except for normal maps that should use NormalMap.
 - TextureGenerationSettings.textureImporterSettings.sRGBTexture should be set to true for Textures used for Color map or Emissive Color map, and false for other Texture usages that aren't using the texture value for output colors but fot their data (like height maps, metallic our roughness textures).
 - Other settings can be set to limit texture size, generate mipmaps and choose specific compressions.
 
Declaration
public TextureGenerationSettings textureSettings
  Field Value
| Type | Description | 
|---|---|
| TextureGenerationSettings |