Class CreateMaterialFromMeshColorNode
This node will create Unity Materials using the provided MaterialPrimPath-UsdMaterialDescription. By default, the shader used to create Materials is 'usdPreviewSurfaceShader'.
Inheritance
CreateMaterialFromMeshColorNode
Implements
Inherited Members
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()