C# 클래스 UnityEditor.ShaderGraph.Texture2DInputMaterialSlot

상속: UnityEditor.ShaderGraph.Texture2DMaterialSlot
파일 보기 프로젝트 열기: yimengfan/BDFramework.Urp2dEx

공개 메소드들

메소드 설명
AddDefaultProperty ( UnityEditor.ShaderGraph.PropertyCollector properties, GenerationMode generationMode ) : void
CopyValuesFrom ( UnityEditor.ShaderGraph.MaterialSlot foundSlot ) : void
GetDefaultValue ( GenerationMode generationMode ) : string
GetPreviewProperties ( List properties, string name ) : void
InstantiateControl ( ) : VisualElement
Texture2DInputMaterialSlot ( ) : System
Texture2DInputMaterialSlot ( int slotId, string displayName, string shaderOutputName, ShaderStageCapability stageCapability = ShaderStageCapability.All, bool hidden = false ) : System

메소드 상세

AddDefaultProperty() 공개 메소드

public AddDefaultProperty ( UnityEditor.ShaderGraph.PropertyCollector properties, GenerationMode generationMode ) : void
properties UnityEditor.ShaderGraph.PropertyCollector
generationMode GenerationMode
리턴 void

CopyValuesFrom() 공개 메소드

public CopyValuesFrom ( UnityEditor.ShaderGraph.MaterialSlot foundSlot ) : void
foundSlot UnityEditor.ShaderGraph.MaterialSlot
리턴 void

GetDefaultValue() 공개 메소드

public GetDefaultValue ( GenerationMode generationMode ) : string
generationMode GenerationMode
리턴 string

GetPreviewProperties() 공개 메소드

public GetPreviewProperties ( List properties, string name ) : void
properties List
name string
리턴 void

InstantiateControl() 공개 메소드

public InstantiateControl ( ) : VisualElement
리턴 VisualElement

Texture2DInputMaterialSlot() 공개 메소드

public Texture2DInputMaterialSlot ( ) : System
리턴 System

Texture2DInputMaterialSlot() 공개 메소드

public Texture2DInputMaterialSlot ( int slotId, string displayName, string shaderOutputName, ShaderStageCapability stageCapability = ShaderStageCapability.All, bool hidden = false ) : System
slotId int
displayName string
shaderOutputName string
stageCapability ShaderStageCapability
hidden bool
리턴 System