VisualShaderNodeSwitch
A selector function for use within the visual shader graph.
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
public VisualShaderNodeSwitch();Properties1
OpTypeProperty
public VisualShaderNodeSwitch.OpTypeEnum OpType { get; set; }A type of operands and returned value.
Methods2
GetOpTypeVisualShaderNodeSwitch.OpTypeEnum
public VisualShaderNodeSwitch.OpTypeEnum GetOpType();Returns
VisualShaderNodeSwitch.OpTypeEnumSetOpTypevoid
public void SetOpType(VisualShaderNodeSwitch.OpTypeEnum type);| Name | Type | Default |
|---|---|---|
type | VisualShaderNodeSwitch.OpTypeEnum | — |
VisualShaderNodeSwitch.OpTypeEnum
| Value | Description |
|---|---|
Boolean = 6 | A boolean type. |
Float = 0 | A floating-point scalar. |
Int = 1 | An integer scalar. |
Max = 8 | Represents the size of the |
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 ↑