reckfellENGINE

VisualShaderNodeSwitch

A selector function for use within the visual shader graph.

On this page
class VisualShaderNodeSwitchReckfellSharpInherits VisualShaderNode

A selector function for use within the visual shader graph.

Returns an associated value of the VisualShaderNodeSwitch.OpType type if the provided boolean value is true or false.

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

Constructors1

VisualShaderNodeSwitchConstructor
# VisualShaderNodeSwitch
C#
public VisualShaderNodeSwitch();

Properties1

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

A type of operands and returned value.

Methods2

GetOpTypeVisualShaderNodeSwitch.OpTypeEnum
# GetOpType
C#
public VisualShaderNodeSwitch.OpTypeEnum GetOpType();
Returns VisualShaderNodeSwitch.OpTypeEnum
SetOpTypevoid
# SetOpType
C#
public void SetOpType(VisualShaderNodeSwitch.OpTypeEnum type);
Parameters
NameTypeDefault
typeVisualShaderNodeSwitch.OpTypeEnum—

VisualShaderNodeSwitch.OpTypeEnum

ValueDescription
Boolean = 6

A boolean type.

Float = 0

A floating-point scalar.

Int = 1

An integer scalar.

Max = 8

Represents the size of the VisualShaderNodeSwitch.OpTypeEnum enum.

Transform = 7

A transform type.

Uint = 2

An unsigned integer scalar.

Vector2D = 3

A 2D vector type.

Vector3D = 4

A 3D vector type.

Vector4D = 5

A 4D vector 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.