reckfellENGINE

VisualShaderNodeIntOp

An integer scalar operator to be used within the visual shader graph.

On this page
class VisualShaderNodeIntOpReckfellSharpInherits VisualShaderNode

An integer scalar operator to be used within the visual shader graph.

Applies VisualShaderNodeIntOp.Operator to two integer inputs: a and b.

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

Constructors1

VisualShaderNodeIntOpConstructor
# VisualShaderNodeIntOp
C#
public VisualShaderNodeIntOp();

Properties1

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

An operator to be applied to the inputs.

Methods2

GetOperatorVisualShaderNodeIntOp.OperatorEnum
# GetOperator
C#
public VisualShaderNodeIntOp.OperatorEnum GetOperator();
Returns VisualShaderNodeIntOp.OperatorEnum
SetOperatorvoid
# SetOperator
C#
public void SetOperator(VisualShaderNodeIntOp.OperatorEnum op);
Parameters
NameTypeDefault
opVisualShaderNodeIntOp.OperatorEnum—

VisualShaderNodeIntOp.OperatorEnum

ValueDescription
Add = 0

Sums two numbers using a + b.

BitwiseAnd = 7

Returns the result of bitwise AND operation on the integer. Translates to a & b in the Reckfell Shader Language.

BitwiseLeftShift = 10

Returns the result of bitwise left shift operation on the integer. Translates to a << b in the Reckfell Shader Language.

BitwiseOr = 8

Returns the result of bitwise OR operation for two integers. Translates to a | b in the Reckfell Shader Language.

BitwiseRightShift = 11

Returns the result of bitwise right shift operation on the integer. Translates to a >> b in the Reckfell Shader Language.

BitwiseXor = 9

Returns the result of bitwise XOR operation for two integers. Translates to a ^ b in the Reckfell Shader Language.

Div = 3

Divides two numbers using a / b.

EnumSize = 12

Represents the size of the VisualShaderNodeIntOp.OperatorEnum enum.

Max = 5

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

Min = 6

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

Mod = 4

Calculates the remainder of two numbers using a % b.

Mul = 2

Multiplies two numbers using a * b.

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.