reckfellENGINE

VisualShaderNodeMix

Linearly interpolates between two values within the visual shader graph.

On this page
class VisualShaderNodeMixReckfellSharpInherits VisualShaderNode

Linearly interpolates between two values within the visual shader graph.

Translates to mix(a, b, weight) in the shader language.

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

Constructors1

VisualShaderNodeMixConstructor
# VisualShaderNodeMix
C#
public VisualShaderNodeMix();

Properties1

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

A type of operands and returned value.

Methods2

GetOpTypeVisualShaderNodeMix.OpTypeEnum
# GetOpType
C#
public VisualShaderNodeMix.OpTypeEnum GetOpType();
Returns VisualShaderNodeMix.OpTypeEnum
SetOpTypevoid
# SetOpType
C#
public void SetOpType(VisualShaderNodeMix.OpTypeEnum opType);
Parameters
NameTypeDefault
opTypeVisualShaderNodeMix.OpTypeEnum—

VisualShaderNodeMix.OpTypeEnum

ValueDescription
Max = 7

Represents the size of the VisualShaderNodeMix.OpTypeEnum enum.

Scalar = 0

A floating-point scalar.

Vector2D = 1

A 2D vector type.

Vector2DScalar = 2

The a and b ports use a 2D vector type. The weight port uses a scalar type.

Vector3D = 3

A 3D vector type.

Vector3DScalar = 4

The a and b ports use a 3D vector type. The weight port uses a 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.