VisualShaderNodeVectorBase

Inherits: VisualShaderNode < Resource < RefCounted < Object

Inherited By: VisualShaderNodeFaceForward, VisualShaderNodeVectorCompose, VisualShaderNodeVectorDecompose, VisualShaderNodeVectorDistance, VisualShaderNodeVectorFunc, VisualShaderNodeVectorLen, VisualShaderNodeVectorOp

A base type for the nodes using different vector types within the visual shader graph.

Properties

OpType

op_type

1

Enumerations

enum OpType:

  • OP_TYPE_VECTOR_2D = 0 --- A 2D vector type.

  • OP_TYPE_VECTOR_3D = 1 --- A 3D vector type.

  • OP_TYPE_VECTOR_4D = 2 --- A 4D vector type.

  • OP_TYPE_MAX = 3 --- Represents the size of the OpType enum.

Property Descriptions

Default

1

Setter

set_op_type(value)

Getter

get_op_type()

A base type.