Class GradientMaterialSlot
Inheritance
System.Object
GradientMaterialSlot
Syntax
public class GradientMaterialSlot : MaterialSlot
Constructors
GradientMaterialSlot()
Declaration
public GradientMaterialSlot()
GradientMaterialSlot(Int32, String, String, SlotType, ShaderStageCapability, Boolean)
Declaration
public GradientMaterialSlot(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