reckfellENGINE

VisualShaderNodeVectorOp

A vector operator to be used within the visual shader graph.

On this page
class VisualShaderNodeVectorOpReckfellSharpInherits VisualShaderNodeVectorBase

A vector operator to be used within the visual shader graph.

A visual shader node for use of vector operators. Operates on vector a and vector b.

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

Constructors1

VisualShaderNodeVectorOpConstructor
# VisualShaderNodeVectorOp
C#
public VisualShaderNodeVectorOp();

Properties1

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

The operator to be used.

Methods2

GetOperatorVisualShaderNodeVectorOp.OperatorEnum
# GetOperator
C#
public VisualShaderNodeVectorOp.OperatorEnum GetOperator();
Returns VisualShaderNodeVectorOp.OperatorEnum
SetOperatorvoid
# SetOperator
C#
public void SetOperator(VisualShaderNodeVectorOp.OperatorEnum op);
Parameters
NameTypeDefault
opVisualShaderNodeVectorOp.OperatorEnum—

VisualShaderNodeVectorOp.OperatorEnum

ValueDescription
Add = 0

Adds two vectors.

Atan2 = 9

Returns the arc-tangent of the parameters.

Cross = 8

Calculates the cross product of two vectors.

Div = 3

Divides vector by vector.

EnumSize = 12

Represents the size of the VisualShaderNodeVectorOp.OperatorEnum enum.

Max = 6

Returns the greater of two values, for each component of the vectors.

Min = 7

Returns the lesser of two values, for each component of the vectors.

Mod = 4

Returns the remainder of the two vectors.

Mul = 2

Multiplies two vectors.

Pow = 5

Returns the value of the first parameter raised to the power of the second, for each component of the vectors.

Reflect = 10

Returns the vector that points in the direction of reflection. a is incident vector and b is the normal vector.

Step = 11

Vector step operator. Returns 0.0 if a is smaller than b and 1.0 otherwise.

Sub = 1

Subtracts a vector from a vector.

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.