Class NormalMaterialSlot
  
Inheritance
System.Object
NormalMaterialSlot
 
Syntax
public class NormalMaterialSlot : SpaceMaterialSlot, IMaterialSlotHasValue<Vector3>, IMayRequireNormal
 
Constructors
  
NormalMaterialSlot()
Declaration
public NormalMaterialSlot()
 
NormalMaterialSlot(Int32, String, String, CoordinateSpace, ShaderStageCapability, Boolean)
Declaration
public NormalMaterialSlot(int slotId, string displayName, string shaderOutputName, CoordinateSpace space, ShaderStageCapability stageCapability = ShaderStageCapability.All, bool hidden = false)
 
Parameters
| Type | Name | Description | 
| System.Int32 | slotId |  | 
| System.String | displayName |  | 
| System.String | shaderOutputName |  | 
| CoordinateSpace | space |  | 
| 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
RequiresNormal(ShaderStageCapability)
Declaration
public NeededCoordinateSpace RequiresNormal(ShaderStageCapability stageCapability)
 
Parameters
Returns
Implements