docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MapMaterialToMeshNode.InputPort

    Input ports of the MapMaterialToMeshNode.

    Inheritance
    object
    InputPorts
    MapMaterialToMeshNode.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: Unity.Importer.USD
    Assembly: Unity.Importer.USD.dll
    Syntax
    public class MapMaterialToMeshNode.InputPort : InputPorts

    Fields

    defaultMaterial

    An optional default material to be set when one cannot be found for a mesh.

    Declaration
    public Material defaultMaterial
    Field Value
    Type Description
    Material

    materials

    A MaterialPrimPath-Material mapping containing the material that need to be assigned to mesh filters.

    Declaration
    public Dictionary<string, Material> materials
    Field Value
    Type Description
    Dictionary<string, Material>

    meshGameobjects

    A MeshPrimPath-GameObject mapping containing the GameObjects with the mesh filter components.

    Declaration
    public Dictionary<string, GameObject> meshGameobjects
    Field Value
    Type Description
    Dictionary<string, GameObject>

    meshMaterialsPaths

    A MeshPrimPath-MaterialPrimPaths mapping to be used to map materials to their respective meshes.

    Declaration
    public Dictionary<string, List<string>> meshMaterialsPaths
    Field Value
    Type Description
    Dictionary<string, List<string>>
    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)