Class TangentMaterialSlot
Inheritance
System.Object
TangentMaterialSlot
Syntax
public class TangentMaterialSlot : SpaceMaterialSlot, IMaterialSlotHasValue<Vector3>, IMayRequireTangent
Constructors
TangentMaterialSlot()
Declaration
public TangentMaterialSlot()
TangentMaterialSlot(Int32, String, String, CoordinateSpace, ShaderStageCapability, Boolean)
Declaration
public TangentMaterialSlot(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
RequiresTangent(ShaderStageCapability)
Declaration
public NeededCoordinateSpace RequiresTangent(ShaderStageCapability stageCapability)
Parameters
Returns
Implements