reckfellENGINE

VisualShaderNodeFloatOp

A floating-point scalar operator to be used within the visual shader graph.

On this page
class VisualShaderNodeFloatOpReckfellSharpInherits VisualShaderNode

A floating-point scalar operator to be used within the visual shader graph.

Applies VisualShaderNodeFloatOp.Operator to two floating-point inputs: a and b.

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

Constructors1

VisualShaderNodeFloatOpConstructor
# VisualShaderNodeFloatOp
C#
public VisualShaderNodeFloatOp();

Properties1

OperatorProperty
# Operator
C#
public VisualShaderNodeFloatOp.OperatorEnum Operator { get; set; }

An operator to be applied to the inputs.

Methods2

GetOperatorVisualShaderNodeFloatOp.OperatorEnum
# GetOperator
C#
public VisualShaderNodeFloatOp.OperatorEnum GetOperator();
Returns VisualShaderNodeFloatOp.OperatorEnum
SetOperatorvoid
# SetOperator
C#
public void SetOperator(VisualShaderNodeFloatOp.OperatorEnum op);
Parameters
NameTypeDefault
opVisualShaderNodeFloatOp.OperatorEnum—

VisualShaderNodeFloatOp.OperatorEnum

ValueDescription
Add = 0

Sums two numbers using a + b.

Atan2 = 8

Returns the arc-tangent of the parameters. Translates to atan(a, b) in the Reckfell Shader Language.

Div = 3

Divides two numbers using a / b.

EnumSize = 10

Represents the size of the VisualShaderNodeFloatOp.OperatorEnum enum.

Max = 6

Returns the greater of two numbers. Translates to max(a, b) in the Reckfell Shader Language.

Min = 7

Returns the lesser of two numbers. Translates to min(a, b) in the Reckfell Shader Language.

Mod = 4

Calculates the remainder of two numbers. Translates to mod(a, b) in the Reckfell Shader Language.

Mul = 2

Multiplies two numbers using a * b.

Pow = 5

Raises the a to the power of b. Translates to pow(a, b) in the Reckfell Shader Language.

Step = 9

Generates a step function by comparing b(x) to a(edge). Returns 0.0 if x is smaller than edge and otherwise 1.0. Translates to step(a, b) in the Reckfell Shader Language.

Sub = 1

Subtracts two numbers using a - b.

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.