Class Texture2DMaterialSlot
Inheritance
System.Object
Texture2DMaterialSlot
Syntax
public class Texture2DMaterialSlot : MaterialSlot
Constructors
Texture2DMaterialSlot()
Declaration
public Texture2DMaterialSlot()
Texture2DMaterialSlot(Int32, String, String, SlotType, ShaderStageCapability, Boolean)
Declaration
public Texture2DMaterialSlot(int slotId, string displayName, string shaderOutputName, SlotType slotType, ShaderStageCapability stageCapability = ShaderStageCapability.All, bool hidden = false)
Parameters
Type |
Name |
Description |
System.Int32 |
slotId |
|
System.String |
displayName |
|
System.String |
shaderOutputName |
|
SlotType |
slotType |
|
ShaderStageCapability |
stageCapability |
|
System.Boolean |
hidden |
|
Properties
concreteValueType
Declaration
public override ConcreteSlotValueType concreteValueType { get; }
Property Value
Overrides
valueType
Declaration
public override SlotValueType valueType { get; }
Property Value
Overrides
Methods
AddDefaultProperty(PropertyCollector, GenerationMode)
Declaration
public override void AddDefaultProperty(PropertyCollector properties, GenerationMode generationMode)
Parameters
Overrides
CopyValuesFrom(MaterialSlot)
Declaration
public override void CopyValuesFrom(MaterialSlot foundSlot)
Parameters
Overrides