您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
527 B
28 行
527 B
namespace UnityEngine.MaterialGraph
|
|
{
|
|
[Title("Math/Interpolation/SmoothStep")]
|
|
class SmoothStepNode : Function3Input
|
|
{
|
|
public SmoothStepNode()
|
|
{
|
|
name = "SmoothStep";
|
|
}
|
|
|
|
protected override string GetInputSlot1Name()
|
|
{
|
|
return "InputA";
|
|
}
|
|
|
|
protected override string GetInputSlot2Name()
|
|
{
|
|
return "InputB";
|
|
}
|
|
|
|
protected override string GetInputSlot3Name()
|
|
{
|
|
return "T";
|
|
}
|
|
|
|
protected override string GetFunctionName() {return "smoothstep"; }
|
|
}
|
|
}
|