reckfellENGINE

VisualShaderNodeSmoothStep

Calculates a SmoothStep function within the visual shader graph.

On this page
class VisualShaderNodeSmoothStepReckfellSharpInherits VisualShaderNode

Calculates a SmoothStep function within the visual shader graph.

Translates to smoothstep(edge0, edge1, x) in the shader language. Returns 0.0 if x is smaller than edge0 and 1.0 if x is larger than edge1. Otherwise, the return value is interpolated between 0.0 and 1.0 using Hermite polynomials.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

VisualShaderNodeSmoothStepConstructor
# VisualShaderNodeSmoothStep
C#
public VisualShaderNodeSmoothStep();

Properties1

OpTypeProperty
# OpType
C#
public VisualShaderNodeSmoothStep.OpTypeEnum OpType { get; set; }

A type of operands and returned value.

Methods2

GetOpTypeVisualShaderNodeSmoothStep.OpTypeEnum
# GetOpType
C#
public VisualShaderNodeSmoothStep.OpTypeEnum GetOpType();
Returns VisualShaderNodeSmoothStep.OpTypeEnum
SetOpTypevoid
# SetOpType
C#
public void SetOpType(VisualShaderNodeSmoothStep.OpTypeEnum opType);
Parameters
NameTypeDefault
opTypeVisualShaderNodeSmoothStep.OpTypeEnum—

VisualShaderNodeSmoothStep.OpTypeEnum

ValueDescription
Max = 7

Represents the size of the VisualShaderNodeSmoothStep.OpTypeEnum enum.

Scalar = 0

A floating-point scalar type.

Vector2D = 1

A 2D vector type.

Vector2DScalar = 2

The x port uses a 2D vector type. The first two ports use a floating-point scalar type.

Vector3D = 3

A 3D vector type.

Vector3DScalar = 4

The x port uses a 3D vector type. The first two ports use a floating-point scalar type.

Vector4D = 5

A 4D vector type.

Vector4DScalar = 6

The a and b ports use a 4D vector type. The weight port uses a scalar type.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.