Class VertexColorMaterialSlot
Inheritance
System.Object
VertexColorMaterialSlot
Syntax
public class VertexColorMaterialSlot : Vector4MaterialSlot, IMaterialSlotHasValue<Vector4>, IMayRequireScreenPosition
Constructors
VertexColorMaterialSlot(Int32, String, String, ShaderStageCapability, Boolean)
Declaration
public VertexColorMaterialSlot(int slotId, string displayName, string shaderOutputName, ShaderStageCapability stageCapability = ShaderStageCapability.All, bool hidden = false)
Parameters
| Type |
Name |
Description |
| System.Int32 |
slotId |
|
| System.String |
displayName |
|
| System.String |
shaderOutputName |
|
| ShaderStageCapability |
stageCapability |
|
| System.Boolean |
hidden |
|
Methods
GetDefaultValue(GenerationMode)
Declaration
public override string GetDefaultValue(GenerationMode generationMode)
Parameters
Returns
| Type |
Description |
| System.String |
|
Overrides
InstantiateControl()
Declaration
public override VisualElement InstantiateControl()
Returns
| Type |
Description |
| VisualElement |
|
Overrides
RequiresScreenPosition(ShaderStageCapability)
Declaration
public bool RequiresScreenPosition(ShaderStageCapability stageCapability)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Implements