reckfellENGINE

VisualShaderNodeIntFunc

A scalar integer function to be used within the visual shader graph.

On this page
class VisualShaderNodeIntFuncReckfellSharpInherits VisualShaderNode

A scalar integer function to be used within the visual shader graph.

Accept an integer scalar (x) to the input port and transform it according to VisualShaderNodeIntFunc.Function.

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

Constructors1

VisualShaderNodeIntFuncConstructor
# VisualShaderNodeIntFunc
C#
public VisualShaderNodeIntFunc();

Properties1

FunctionProperty
# Function
C#
public VisualShaderNodeIntFunc.FunctionEnum Function { get; set; }

A function to be applied to the scalar.

Methods2

GetFunctionVisualShaderNodeIntFunc.FunctionEnum
# GetFunction
C#
public VisualShaderNodeIntFunc.FunctionEnum GetFunction();
Returns VisualShaderNodeIntFunc.FunctionEnum
SetFunctionvoid
# SetFunction
C#
public void SetFunction(VisualShaderNodeIntFunc.FunctionEnum func);
Parameters
NameTypeDefault
funcVisualShaderNodeIntFunc.FunctionEnum—

VisualShaderNodeIntFunc.FunctionEnum

ValueDescription
Abs = 0

Returns the absolute value of the parameter. Translates to abs(x) in the Reckfell Shader Language.

BitwiseNot = 3

Returns the result of bitwise NOT operation on the integer. Translates to ~a in the Reckfell Shader Language.

Max = 4

Represents the size of the VisualShaderNodeIntFunc.FunctionEnum enum.

Negate = 1

Negates the x using -(x).

Sign = 2

Extracts the sign of the parameter. Translates to sign(x) in the Reckfell Shader Language.

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.