Class Vector4MaterialSlot
  
Inheritance
System.Object
Vector4MaterialSlot
 
Syntax
public class Vector4MaterialSlot : MaterialSlot, IMaterialSlotHasValue<Vector4>
 
Constructors
  
Vector4MaterialSlot()
Declaration
public Vector4MaterialSlot()
 
Vector4MaterialSlot(Int32, String, String, SlotType, Vector4, ShaderStageCapability, String, String, String, String, Boolean)
Declaration
public Vector4MaterialSlot(int slotId, string displayName, string shaderOutputName, SlotType slotType, Vector4 value, ShaderStageCapability stageCapability = ShaderStageCapability.All, string label1 = "X", string label2 = "Y", string label3 = "Z", string label4 = "W", bool hidden = false)
 
Parameters
| Type | Name | Description | 
| System.Int32 | slotId |  | 
| System.String | displayName |  | 
| System.String | shaderOutputName |  | 
| SlotType | slotType |  | 
| Vector4 | value |  | 
| ShaderStageCapability | stageCapability |  | 
| System.String | label1 |  | 
| System.String | label2 |  | 
| System.String | label3 |  | 
| System.String | label4 |  | 
| System.Boolean | hidden |  | 
Properties
  
concreteValueType
Declaration
public override ConcreteSlotValueType concreteValueType { get; }
 
Property Value
Overrides
defaultValue
Declaration
public Vector4 defaultValue { get; }
 
Property Value
Implements
value
Declaration
public Vector4 value { get; set; }
 
Property Value
Implements
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
ConcreteSlotValueAsVariable(AbstractMaterialNode.OutputPrecision)
Declaration
protected override string ConcreteSlotValueAsVariable(AbstractMaterialNode.OutputPrecision precision)
 
Parameters
Returns
| Type | Description | 
| System.String |  | 
Overrides
CopyValuesFrom(MaterialSlot)
Declaration
public override void CopyValuesFrom(MaterialSlot foundSlot)
 
Parameters
Overrides
GetPreviewProperties(List<PreviewProperty>, String)
Declaration
public override void GetPreviewProperties(List<PreviewProperty> properties, string name)
 
Parameters
Overrides
InstantiateControl()
Declaration
public override VisualElement InstantiateControl()
 
Returns
| Type | Description | 
| VisualElement |  | 
Overrides