docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CreateMaterialFromMeshColorNode

    This node will create Unity Materials using the provided MaterialPrimPath-UsdMaterialDescription. By default, the shader used to create Materials is 'usdPreviewSurfaceShader'.

    Inheritance
    object
    Node<CreateMaterialFromMeshColorNode.InputPort, CreateMaterialFromMeshColorNode.OutputPort>
    CreateMaterialFromMeshColorNode
    Implements
    INode<CreateMaterialFromMeshColorNode.InputPort, CreateMaterialFromMeshColorNode.OutputPort>
    INodeSerialization
    Inherited Members
    Node<CreateMaterialFromMeshColorNode.InputPort, CreateMaterialFromMeshColorNode.OutputPort>.Input
    Node<CreateMaterialFromMeshColorNode.InputPort, CreateMaterialFromMeshColorNode.OutputPort>.Output
    Node<CreateMaterialFromMeshColorNode.InputPort, CreateMaterialFromMeshColorNode.OutputPort>.Run()
    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
    [NodeMetadata("CreateMaterialFromMeshColorNode", 0, description = "Create Unity Materials using the provided MaterialPrimPath-UsdMaterialDescription", displayName = "CreateMaterialFromMeshColor")]
    public class CreateMaterialFromMeshColorNode : Node<CreateMaterialFromMeshColorNode.InputPort, CreateMaterialFromMeshColorNode.OutputPort>, INode<CreateMaterialFromMeshColorNode.InputPort, CreateMaterialFromMeshColorNode.OutputPort>, INodeSerialization

    Methods

    Run()

    See the documentation for <Node{TInput,TOutput}.Run> in the com.unity.importer package documentation for details

    Declaration
    public override void Run()
    Overrides
    UnityEngine.Importer.Node<Unity.Importer.USD.CreateMaterialFromMeshColorNode.InputPort, Unity.Importer.USD.CreateMaterialFromMeshColorNode.OutputPort>.Run()

    Implements

    INode<TInput, TOutput>
    INodeSerialization
    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)