docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CreateTextureNode.InputPort

    Input ports of the CreateTextureNode.

    Inheritance
    object
    InputPorts
    CreateTextureNode.InputPort
    Inherited Members
    InputPorts.AssetLoading
    InputPorts.GraphLogger
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)