reckfellENGINE

VisualShaderNodeStep

Calculates a Step function within the visual shader graph.

On this page
class VisualShaderNodeStepReckfellSharpInherits VisualShaderNode

Calculates a Step function within the visual shader graph.

Translates to step(edge, x) in the shader language. Returns 0.0 if x is smaller than edge and 1.0 otherwise.

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

Constructors1

VisualShaderNodeStepConstructor
# VisualShaderNodeStep
C#
public VisualShaderNodeStep();

Properties1

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

A type of operands and returned value.

Methods2

GetOpTypeVisualShaderNodeStep.OpTypeEnum
# GetOpType
C#
public VisualShaderNodeStep.OpTypeEnum GetOpType();
Returns VisualShaderNodeStep.OpTypeEnum
SetOpTypevoid
# SetOpType
C#
public void SetOpType(VisualShaderNodeStep.OpTypeEnum opType);
Parameters
NameTypeDefault
opTypeVisualShaderNodeStep.OpTypeEnum—

VisualShaderNodeStep.OpTypeEnum

ValueDescription
Max = 7

Represents the size of the VisualShaderNodeStep.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, while the edge port uses a floating-point scalar type.

Vector3D = 3

A 3D vector type.

Vector3DScalar = 4

The x port uses a 3D vector type, while the edge port uses 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.